Sha256: 5fd8c14580301f7bbc7db66973a5916966d34f0f438af4e75ef44b6fd3e76708
Contents?: true
Size: 279 Bytes
Versions: 1
Compression:
Stored size: 279 Bytes
Contents
require "sqlite3" module Panda module Record class Database def self.connection @db ||= SQLite3::Database.new(File.join(APP_ROOT, "db", "app.db")) end def self.execute_query(*query) connection.execute(*query) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
panda_frwk-0.1.0 | lib/panda/record/database.rb |