Class: Loader
- Inherits:
-
Object
- Object
- Loader
- Defined in:
- lib/Yinspire/Loaders/Loader.rb
Overview
Common super class of all Loaders.
Uses Cplus2Ruby property annotations to automatically assign properties:
property :name, :marshal => true, :init => 123
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(simulator) ⇒ Loader
constructor
A new instance of Loader.
Constructor Details
#initialize(simulator) ⇒ Loader
Returns a new instance of Loader.
11 12 13 14 |
# File 'lib/Yinspire/Loaders/Loader.rb', line 11 def initialize(simulator) @simulator = simulator @entities = @simulator.entities end |