class Chione::Manager
The Manager
class
Attributes
world[R]
The World which the Manager
belongs to
Public Class Methods
new( world, * )
click to toggle source
Create a new Chione::Manager
for the specified world
.
# File lib/chione/manager.rb, line 26 def initialize( world, * ) @world = world end
Public Instance Methods
start()
click to toggle source
Start the Manager
as the world is starting. Derivatives must implement this method.
# File lib/chione/manager.rb, line 41 def start raise NotImplementedError, "%p does not implement required method #start" % [ self.class ] end
stop()
click to toggle source
Stop the Manager
as the world is stopping. Derivatives must implement this method.
# File lib/chione/manager.rb, line 48 def stop raise NotImplementedError, "%p does not implement required method #stop" % [ self.class ] end
Protected Instance Methods
inspect_details()
click to toggle source
Return the detail part of the inspection string.
# File lib/chione/manager.rb, line 58 def inspect_details return "for %p:%#016x" % [ self.world.class, self.world.object_id * 2 ] end