Sha256: 42e28c100994efe2cdfdf1205514e2f0d7a8e4891113e80fb6d8eb844d118c49

Contents?: true

Size: 392 Bytes

Versions: 22

Compression:

Stored size: 392 Bytes

Contents

require 'origen'
module Origen
  class <<self
    # Override the Origen.reset_interface method to clear out the TestIds
    # configuration, so that it doesn't carry over from one flow to the next
    alias_method :_orig_reset_interface, :reset_interface
    def reset_interface(options = {})
      TestIds.send(:clear_configuration_id)
      _orig_reset_interface(options)
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
test_ids-1.2.3 lib/test_ids/origen/origen.rb
test_ids-1.2.2 lib/test_ids/origen/origen.rb
test_ids-1.2.1 lib/test_ids/origen/origen.rb
test_ids-1.2.0 lib/test_ids/origen/origen.rb
test_ids-1.1.2 lib/test_ids/origen/origen.rb
test_ids-1.1.1 lib/test_ids/origen/origen.rb
test_ids-1.1.0 lib/test_ids/origen/origen.rb
test_ids-1.0.0 lib/test_ids/origen/origen.rb
test_ids-0.8.2 lib/test_ids/origen/origen.rb
test_ids-0.8.1 lib/test_ids/origen/origen.rb
test_ids-0.8.0 lib/test_ids/origen/origen.rb
test_ids-0.7.1 lib/test_ids/origen/origen.rb
test_ids-0.7.0 lib/test_ids/origen/origen.rb
test_ids-0.6.1 lib/test_ids/origen/origen.rb
test_ids-0.6.0 lib/test_ids/origen/origen.rb
test_ids-0.5.1 lib/test_ids/origen/origen.rb
test_ids-0.5.0 lib/test_ids/origen/origen.rb
test_ids-0.4.1 lib/test_ids/origen/origen.rb
test_ids-0.4.0 lib/test_ids/origen/origen.rb
test_ids-0.3.2 lib/test_ids/origen/origen.rb