Class: Origen::Tester::Timing::Timeset
- Inherits:
-
Object
- Object
- Origen::Tester::Timing::Timeset
- Defined in:
- lib/origen/tester/timing.rb
Instance Attribute Summary (collapse)
-
- (Object) name
Returns the value of attribute name.
-
- (Object) period_in_ns
Returns the value of attribute period_in_ns.
Instance Method Summary (collapse)
-
- (Timeset) initialize(attrs = {})
constructor
A new instance of Timeset.
Constructor Details
- (Timeset) initialize(attrs = {})
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
- (Object) name
Returns the value of attribute name
5 6 7 |
# File 'lib/origen/tester/timing.rb', line 5 def name @name end |
- (Object) period_in_ns
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 |