Class: Hakuban::ObjectManager::ManagedObject
- Inherits:
-
Object
- Object
- Hakuban::ObjectManager::ManagedObject
- Defined in:
- lib/hakuban/hakuban.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#contract ⇒ Object
readonly
Returns the value of attribute contract.
-
#descriptor ⇒ Object
readonly
Returns the value of attribute descriptor.
Instance Method Summary collapse
-
#initialize(contract, descriptor) ⇒ ManagedObject
constructor
A new instance of ManagedObject.
Constructor Details
#initialize(contract, descriptor) ⇒ ManagedObject
Returns a new instance of ManagedObject.
599 600 601 |
# File 'lib/hakuban/hakuban.rb', line 599 def initialize(contract, descriptor) @contract, @descriptor = contract, descriptor end |
Instance Attribute Details
#contract ⇒ Object (readonly)
Returns the value of attribute contract.
598 599 600 |
# File 'lib/hakuban/hakuban.rb', line 598 def contract @contract end |
#descriptor ⇒ Object (readonly)
Returns the value of attribute descriptor.
598 599 600 |
# File 'lib/hakuban/hakuban.rb', line 598 def descriptor @descriptor end |