Sha256: 2875153df88be138bb0910b026fccbeb3923923f1fe7b682aeca885fe44c0a99
Contents?: true
Size: 570 Bytes
Versions: 2
Compression:
Stored size: 570 Bytes
Contents
# This shim is temporary to help NXP transition to Origen from # our original internal version (RGen) if defined? RGen::ORIGENTRANSITION require 'rgen/generator/resources' else require 'origen/generator/resources' end module Origen class Generator class Resources alias_method :orig_create, :create # Patching to make resources_mode apply much earlier def create(options = {}, &block) OrigenTesters::Interface.with_resources_mode do orig_create(options, &block) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
origen_testers-0.13.2 | lib/origen_testers/origen_ext/generator/resources.rb |
origen_testers-0.10.0 | lib/origen_testers/origen_ext/generator/resources.rb |