Sha256: 9c58a5b894559ad0e9670bc44f8db63f7c7a329384aa9e7dd079db33f4359043

Contents?: true

Size: 306 Bytes

Versions: 27

Compression:

Stored size: 306 Bytes

Contents

module OrigenSim
  class Flow
    include OrigenTesters::Flow

    def test(name, options = {})
      pattern = (options[:pattern] || name.try(:pattern) || name).to_s

      Origen.interface.referenced_patterns << pattern

      Origen.app.runner.launch action: :generate, files: pattern
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
origen_sim-0.6.0 lib/origen_sim/flow.rb
origen_sim-0.5.5 lib/origen_sim/flow.rb
origen_sim-0.5.4 lib/origen_sim/flow.rb
origen_sim-0.5.3 lib/origen_sim/flow.rb
origen_sim-0.5.2 lib/origen_sim/flow.rb
origen_sim-0.5.1 lib/origen_sim/flow.rb
origen_sim-0.5.0 lib/origen_sim/flow.rb