Class: Origen::Generator::Resources
- Inherits:
-
Object
- Object
- Origen::Generator::Resources
- Defined in:
- lib/origen_testers/origen_ext/generator/resources.rb
Instance Method Summary collapse
-
#create(options = {}, &block) ⇒ Object
Patching to make resources_mode apply much earlier.
- #orig_create ⇒ Object
Instance Method Details
#create(options = {}, &block) ⇒ Object
Patching to make resources_mode apply much earlier
14 15 16 17 18 |
# File 'lib/origen_testers/origen_ext/generator/resources.rb', line 14 def create( = {}, &block) OrigenTesters::Interface.with_resources_mode do orig_create(, &block) end end |
#orig_create ⇒ Object
11 |
# File 'lib/origen_testers/origen_ext/generator/resources.rb', line 11 alias_method :orig_create, :create |