class Object
Public Class Methods
new(*args) { |self| ... }
click to toggle source
# File lib/fast_sqlite.rb, line 6 def initialize(*args) initialize_original(*args) gotta_go_fast! if block_given? yield(self) close end end
Public Instance Methods
gotta_go_fast!()
click to toggle source
# File lib/fast_sqlite.rb, line 16 def gotta_go_fast! execute('PRAGMA synchronous = OFF') execute('PRAGMA journal_mode = MEMORY') end