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