Class: DataBindings::Adapters::Ruby::RubyObjectAdapter
- Inherits:
-
IndifferentHash
- Object
- Hash
- IndifferentHash
- DataBindings::Adapters::Ruby::RubyObjectAdapter
- Includes:
- Unbound
- Defined in:
- lib/data_bindings/adapters/ruby.rb
Instance Attribute Summary
Attributes included from Unbound
Instance Method Summary collapse
-
#initialize(generator, o) ⇒ RubyObjectAdapter
constructor
A new instance of RubyObjectAdapter.
Methods included from Unbound
#array?, #bind, #bind!, #bind_array, #binding_class, #convert_target, #hash?, #to_native, #type, #update_binding
Methods included from Hashie::Extensions::IndifferentAccess
#convert!, #convert_key, #convert_value, included, #indifferent_access?, #indifferent_default, #indifferent_delete, #indifferent_fetch, #indifferent_key?, #indifferent_update, #indifferent_values_at, #indifferent_writer, inject, inject!
Constructor Details
#initialize(generator, o) ⇒ RubyObjectAdapter
Returns a new instance of RubyObjectAdapter.
37 38 39 40 |
# File 'lib/data_bindings/adapters/ruby.rb', line 37 def initialize(generator, o) @generator = generator replace o end |