Class: Puffer::OrmAdapter::Reflection

Inherits:
ActiveSupport::OrderedOptions
  • Object
show all
Defined in:
lib/puffer/orm_adapter/base.rb

Instance Method Summary collapse

Constructor Details

#initialize(hash) ⇒ Reflection

Returns a new instance of Reflection.



21
22
23
24
# File 'lib/puffer/orm_adapter/base.rb', line 21

def initialize hash
  super
  hash.each { |(key, value)| self[key] = value }
end