Class: Og::Manager::EntityInfo
- Inherits:
-
Object
- Object
- Og::Manager::EntityInfo
- Defined in:
- lib/og/manager.rb
Overview
Information about an Entity class.
Instance Attribute Summary collapse
-
#enchanted ⇒ Object
Returns the value of attribute enchanted.
-
#klass ⇒ Object
Returns the value of attribute klass.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(klass = nil) ⇒ EntityInfo
constructor
A new instance of EntityInfo.
Constructor Details
#initialize(klass = nil) ⇒ EntityInfo
Returns a new instance of EntityInfo.
36 37 38 39 40 |
# File 'lib/og/manager.rb', line 36 def initialize(klass = nil) @klass = klass @enchanted = false @options = {} end |
Instance Attribute Details
#enchanted ⇒ Object
Returns the value of attribute enchanted.
33 34 35 |
# File 'lib/og/manager.rb', line 33 def enchanted @enchanted end |
#klass ⇒ Object
Returns the value of attribute klass.
32 33 34 |
# File 'lib/og/manager.rb', line 32 def klass @klass end |
#options ⇒ Object
Returns the value of attribute options.
34 35 36 |
# File 'lib/og/manager.rb', line 34 def @options end |