Class: Origen::Tester::Timing::Timeset
- Defined in:
- lib/origen/tester/timing.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#period_in_ns ⇒ Object
Returns the value of attribute period_in_ns.
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ Timeset
constructor
A new instance of Timeset.
Constructor Details
#initialize(attrs = {}) ⇒ Timeset
Returns a new instance of Timeset.
7 8 9 10 11 |
# File 'lib/origen/tester/timing.rb', line 7 def initialize(attrs = {}) attrs.each do |name, value| send("#{name}=", value) end end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/origen/tester/timing.rb', line 5 def name @name end |
#period_in_ns ⇒ Object
Returns the value of attribute period_in_ns.
5 6 7 |
# File 'lib/origen/tester/timing.rb', line 5 def period_in_ns @period_in_ns end |