We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21db633 commit f7d1b5dCopy full SHA for f7d1b5d
lib/sqlite3/statement.rb
@@ -26,7 +26,7 @@ class Statement
26
# statement (i.e., separated by semicolons), then the #remainder property
27
# will be set to the trailing text.
28
def initialize(db, sql)
29
- raise ArgumentError, "pepare called on a closed database" if db.closed?
+ raise ArgumentError, "prepare called on a closed database" if db.closed?
30
31
sql = sql.encode(Encoding::UTF_8) if sql && sql.encoding != Encoding::UTF_8
32
0 commit comments