Class: Egalite::Environment

Inherits:
Object show all
Defined in:
lib/egalite.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(db, opts) ⇒ Environment

Returns a new instance of Environment.



357
358
359
360
# File 'lib/egalite.rb', line 357

def initialize(db,opts)
  @db = db
  @opts = opts
end

Instance Attribute Details

#dbObject (readonly)

Returns the value of attribute db.



355
356
357
# File 'lib/egalite.rb', line 355

def db
  @db
end

#optsObject (readonly)

Returns the value of attribute opts.



355
356
357
# File 'lib/egalite.rb', line 355

def opts
  @opts
end