Class: ActiveAny::Hash

Inherits:
Base
  • Object
show all
Defined in:
lib/active_any/base.rb

Class Attribute Summary collapse

Class Method Summary collapse

Methods included from Reflection

_reflect_on_association, add_reflection, create

Methods included from AttributeAssignment

#assign_attributes, #init_internals

Methods included from Associations

#association, #initialize_dup

Methods included from Attribute

#attribute_for_inspect, #attributes, #has_attribute?, #inspect, #read_attribute

Methods included from Core

#[], #initialize

Class Attribute Details

.dataObject

Returns the value of attribute data.



36
37
38
# File 'lib/active_any/base.rb', line 36

def data
  @data
end

Class Method Details

.adapterObject



46
47
48
# File 'lib/active_any/base.rb', line 46

def adapter
  @adapter ||= ObjectAdapter.new(self)
end