Class: Hakuban::ObjectManager::ManagedObject
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- 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.
641 642 643 644 |
# File 'lib/hakuban/hakuban.rb', line 641 def initialize(contract, descriptor) @contract, @descriptor = contract, descriptor super() end |
Instance Attribute Details
#contract ⇒ Object (readonly)
Returns the value of attribute contract.
640 641 642 |
# File 'lib/hakuban/hakuban.rb', line 640 def contract @contract end |
#descriptor ⇒ Object (readonly)
Returns the value of attribute descriptor.
640 641 642 |
# File 'lib/hakuban/hakuban.rb', line 640 def descriptor @descriptor end |