Skip to content

Commit

Permalink
just move this around a little
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Oct 10, 2016
1 parent 93f222a commit b276c04
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/sqlite3/database.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ def quote( string )

end

# A boolean that indicates whether rows in result sets should be returned
# as hashes or not. By default, rows are returned as arrays.
attr_accessor :results_as_hash

# call-seq: SQLite3::Database.new(file, options = {})
#
# Create a new Database object that opens the given file. If utf16
Expand Down Expand Up @@ -104,10 +108,6 @@ def initialize file, options = {}, zvfs = nil
end
end

# A boolean that indicates whether rows in result sets should be returned
# as hashes or not. By default, rows are returned as arrays.
attr_accessor :results_as_hash

def type_translation= value # :nodoc:
warn(<<-eowarn) if $VERBOSE
#{caller[0]} is calling SQLite3::Database#type_translation=
Expand Down

0 comments on commit b276c04

Please sign in to comment.