Class: Origen::Tester::V93K::Generator::TestMethod
- Defined in:
- lib/origen/tester/v93k/generator/test_method.rb
Constant Summary collapse
- ATTRS =
%w(name klass method_name parameters limits )
- ALIASES =
{ }
- DEFAULTS =
{ }
Instance Method Summary collapse
-
#initialize(name, attrs = {}) ⇒ TestMethod
constructor
A new instance of TestMethod.
Constructor Details
#initialize(name, attrs = {}) ⇒ TestMethod
Returns a new instance of TestMethod.
31 32 33 34 35 36 37 38 39 40 41 |
# File 'lib/origen/tester/v93k/generator/test_method.rb', line 31 def initialize(name, attrs = {}) self.name = name # Set the defaults DEFAULTS.each do |k, v| send("#{k}=", v) end # Then the values that have been supplied attrs.each do |k, v| send("#{k}=", v) end end |