Class: Origen::Tester::V93K::Generator::TestMethod
- Inherits:
-
Object
- Object
- Origen::Tester::V93K::Generator::TestMethod
- Defined in:
- lib/origen/tester/v93k/generator/test_method.rb
Constant Summary
- ATTRS =
%w(name klass method_name parameters limits
- ALIASES =
{ }
- DEFAULTS =
{ }
Instance Method Summary (collapse)
-
- (TestMethod) initialize(name, attrs = {})
constructor
A new instance of TestMethod.
Constructor Details
- (TestMethod) initialize(name, attrs = {})
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 |