@@ -238,7 +238,7 @@ def execute2( sql, *bind_vars )
238238 # rows.
239239 #
240240 # See also #execute_batch2 for additional ways of
241- # executing statments .
241+ # executing statements .
242242 def execute_batch ( sql , bind_vars = [ ] , *args )
243243 # FIXME: remove this stuff later
244244 unless [ Array , Hash ] . include? ( bind_vars . class )
@@ -295,7 +295,7 @@ def execute_batch( sql, bind_vars = [], *args )
295295 # a block can be passed to parse the values accordingly.
296296 #
297297 # See also #execute_batch for additional ways of
298- # executing statments .
298+ # executing statements .
299299 def execute_batch2 ( sql , &block )
300300 if block_given?
301301 result = exec_batch ( sql , @results_as_hash )
@@ -308,7 +308,7 @@ def execute_batch2(sql, &block)
308308 end
309309
310310 # This is a convenience method for creating a statement, binding
311- # paramters to it, and calling execute:
311+ # parameters to it, and calling execute:
312312 #
313313 # result = db.query( "select * from foo where a=?", [5])
314314 # # is the same as
@@ -537,10 +537,10 @@ def finalize
537537 # db.create_aggregate_handler( LengthsAggregateHandler )
538538 # puts db.get_first_value( "select lengths(name) from A" )
539539 def create_aggregate_handler ( handler )
540- # This is a compatiblity shim so the (basically pointless) FunctionProxy
540+ # This is a compatibility shim so the (basically pointless) FunctionProxy
541541 # "ctx" object is passed as first argument to both step() and finalize().
542542 # Now its up to the library user whether he prefers to store his
543- # temporaries as instance varibales or fields in the FunctionProxy.
543+ # temporaries as instance variables or fields in the FunctionProxy.
544544 # The library user still must set the result value with
545545 # FunctionProxy.result= as there is no backwards compatible way to
546546 # change this.
@@ -575,7 +575,7 @@ def finalize
575575 # The functions arity is the arity of the +step+ method.
576576 def define_aggregator ( name , aggregator )
577577 # Previously, this has been implemented in C. Now this is just yet
578- # another compatiblity shim
578+ # another compatibility shim
579579 proxy = Class . new do
580580 @template = aggregator
581581 @name = name
0 commit comments