Class: Og::MockDatabase::ManagedClassMeta
Overview
Managed class metadata
Instance Attribute Summary collapse
-
#field_index ⇒ Object
A mapping of the database fields to the object properties.
-
#klass ⇒ Object
The managed class.
Instance Method Summary collapse
-
#initialize(klass = nil) ⇒ ManagedClassMeta
constructor
A new instance of ManagedClassMeta.
Constructor Details
#initialize(klass = nil) ⇒ ManagedClassMeta
Returns a new instance of ManagedClassMeta.
30 31 32 33 |
# File 'lib/og/mock.rb', line 30 def initialize(klass = nil) @klass = klass @field_index = {} end |