Sha256: d014072702cd516e1ad5d3a8076b782ee6dd33fb57507f813c909873b1c4fb5b
Contents?: true
Size: 288 Bytes
Versions: 6
Compression:
Stored size: 288 Bytes
Contents
class Baza::InfoMysql attr_reader :db def initialize(args = {}) @db = Baza::Db.new({ type: :mysql, host: "localhost", user: "travis", db: "baza" }.merge(args)) end def before @db.tables.list(&:drop) end def after @db.close end end
Version data entries
6 entries across 6 versions & 1 rubygems