class Fleyhe::Data::Database
Public Class Methods
new(file)
click to toggle source
# File lib/Fleyhe.rb, line 158 def initialize file @database = SQLite3::Database.open file @database.results_as_hash = true end
Public Instance Methods
close()
click to toggle source
# File lib/Fleyhe.rb, line 167 def close @database.close end
execute(command)
click to toggle source
# File lib/Fleyhe.rb, line 163 def execute command return @database.execute command end