Class: Symian::Sequence
- Inherits:
-
Object
- Object
- Symian::Sequence
- Defined in:
- lib/symian/generator.rb
Class Method Summary collapse
Class Method Details
.create(args) ⇒ Object
42 43 44 45 46 47 48 49 50 |
# File 'lib/symian/generator.rb', line 42 def self.create(args) case args[:type] when :file FileInputSequence.new(args[:source]) when :sequential_random_variable ERV::SequentialRandomVariable.new(args[:source]) # TODO: also support CSV files and arrays as input source end end |