| Class | TheSystem |
| In: |
daimoku-server/support.rb
|
| Parent: | Object |
This class is used to change the Source Code of the Simulation. Normally this is used by the Architect. The class name should be unique and so that the Players can not instantiate this class.
Create a proxy for an external class. The proxy marshals parameters and also marshals the return value. This allows an Agent to request an action that takes place outside the Simulation, from the inside.
The class must already exist outside the Simulation:
Copy class into the Simulation, with its own definition The class must first exist in the Simulation:
class Apple def eat "yum" end end TheSystem.request 'Apple' apple = Apple.new apple.eat