Class: Og::Database::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.
32 33 34 35 |
# File 'lib/og/database.rb', line 32 def initialize(klass = nil) @klass = klass @field_index = {} end |