Module: OrigenTesters::Generator::ClassMethods
- Defined in:
- lib/origen_testers/generator.rb
Instance Method Summary collapse
-
#new(*args, &block) ⇒ Object
:nodoc:.
Instance Method Details
#new(*args, &block) ⇒ Object
:nodoc:
332 333 334 335 336 337 338 339 |
# File 'lib/origen_testers/generator.rb', line 332 def new(*args, &block) # :nodoc: = (args.last && args.last.is_a?(Hash)) ? args.last : {} x = allocate x.filename = [:filename] if [:filename] x.send(:initialize, *args, &block) Origen.interface.sheet_generators << x unless [:manually_register] x end |