Module: Cuboid::RPC::Server::Instance::Service
- Defined in:
- lib/cuboid/rpc/server/instance/service.rb
Instance Attribute Summary collapse
-
#instance ⇒ Object
readonly
Returns the value of attribute instance.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#instance ⇒ Object (readonly)
Returns the value of attribute instance.
8 9 10 |
# File 'lib/cuboid/rpc/server/instance/service.rb', line 8 def instance @instance end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
7 8 9 |
# File 'lib/cuboid/rpc/server/instance/service.rb', line 7 def name @name end |
Instance Method Details
#initialize(name, instance) ⇒ Object
10 11 12 13 |
# File 'lib/cuboid/rpc/server/instance/service.rb', line 10 def initialize( name, instance ) @name = name @instance = instance end |