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.
18 19 20 21 22 |
# File 'lib/og/manager.rb', line 18 def initialize(klass = nil) @klass = klass @enchanted = false @options = {} end |
Instance Attribute Details
#enchanted ⇒ Object
Returns the value of attribute enchanted.
15 16 17 |
# File 'lib/og/manager.rb', line 15 def enchanted @enchanted end |
#klass ⇒ Object
Returns the value of attribute klass.
14 15 16 |
# File 'lib/og/manager.rb', line 14 def klass @klass end |
#options ⇒ Object
Returns the value of attribute options.
16 17 18 |
# File 'lib/og/manager.rb', line 16 def @options end |