Class: Hakuban::ObjectManager::ManagedObject

Inherits:
Object
  • Object
show all
Defined in:
lib/hakuban/hakuban.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(contract, descriptor) ⇒ ManagedObject

Returns a new instance of ManagedObject.



509
510
511
# File 'lib/hakuban/hakuban.rb', line 509

def initialize(contract, descriptor)
  @contract, @descriptor = contract, descriptor
end

Instance Attribute Details

#contractObject (readonly)

Returns the value of attribute contract.



508
509
510
# File 'lib/hakuban/hakuban.rb', line 508

def contract
  @contract
end

#descriptorObject (readonly)

Returns the value of attribute descriptor.



508
509
510
# File 'lib/hakuban/hakuban.rb', line 508

def descriptor
  @descriptor
end