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.
30 31 32 33 34 |
# File 'lib/og/manager.rb', line 30 def initialize(klass = nil) @klass = klass @enchanted = false @options = {} end |
Instance Attribute Details
#enchanted ⇒ Object
Returns the value of attribute enchanted.
27 28 29 |
# File 'lib/og/manager.rb', line 27 def enchanted @enchanted end |
#klass ⇒ Object
Returns the value of attribute klass.
26 27 28 |
# File 'lib/og/manager.rb', line 26 def klass @klass end |
#options ⇒ Object
Returns the value of attribute options.
28 29 30 |
# File 'lib/og/manager.rb', line 28 def @options end |