Sha256: 6b231dec509fca4b78cff867d8c004b3de5785954082e14728fb990b93fbad72

Contents?: true

Size: 339 Bytes

Versions: 9

Compression:

Stored size: 339 Bytes

Contents

# encoding: utf-8

# Timed simulation core.
# 
module YPetri::Core::Timeless
  require_relative 'pseudo_euler'

  module Methods
    def method_init
      extend case simulation_method
             when :pseudo_euler then PseudoEuler
             else fail TypeError, "Unknown timeless simulation method: #{method}!" end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
y_petri-2.3.11 lib/y_petri/core/timeless/methods.rb
y_petri-2.3.10 lib/y_petri/core/timeless/methods.rb
y_petri-2.3.9 lib/y_petri/core/timeless/methods.rb
y_petri-2.3.8 lib/y_petri/core/timeless/methods.rb
y_petri-2.3.6 lib/y_petri/core/timeless/methods.rb
y_petri-2.3.5 lib/y_petri/core/timeless/methods.rb
y_petri-2.3.4 lib/y_petri/core/timeless/methods.rb
y_petri-2.3.3 lib/y_petri/core/timeless/methods.rb
y_petri-2.3.2 lib/y_petri/core/timeless/methods.rb