Class: ActiveAny::Object

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

Class Attribute Summary collapse

Class Method Summary collapse

Methods included from Delegation::DelegateCache

#inherited, #initialize_relation_delegate_cache, #relation_delegate_class

Methods included from Reflection

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, #attribute_present?, #attributes, #has_attribute?, #inspect, #read_attribute

Methods included from Core

#[], #initialize, #new_record?

Class Attribute Details

.dataObject

Returns the value of attribute data.



22
23
24
# File 'lib/active_any/base.rb', line 22

def data
  @data
end

Class Method Details

.adapterObject



24
25
26
# File 'lib/active_any/base.rb', line 24

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