Class: Puffer::OrmAdapter::Reflection
- Inherits:
-
ActiveSupport::OrderedOptions
- Object
- ActiveSupport::OrderedOptions
- Puffer::OrmAdapter::Reflection
- Defined in:
- lib/puffer/orm_adapter/base.rb
Instance Method Summary collapse
-
#initialize(hash) ⇒ Reflection
constructor
A new instance of Reflection.
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 |