Class: Loader

Inherits:
Object
  • Object
show all
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

Loader_GraphML, Loader_JSON, Loader_Spike, Loader_Yin

Instance Method Summary collapse

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