Class: Tdms::Segment
- Inherits:
-
Object
- Object
- Tdms::Segment
- Defined in:
- lib/tdms/segment.rb
Instance Attribute Summary collapse
-
#objects ⇒ Object
readonly
Returns the value of attribute objects.
-
#prev_segment ⇒ Object
Returns the value of attribute prev_segment.
Instance Method Summary collapse
-
#initialize ⇒ Segment
constructor
A new instance of Segment.
Constructor Details
#initialize ⇒ Segment
7 8 9 |
# File 'lib/tdms/segment.rb', line 7 def initialize @objects = [] end |
Instance Attribute Details
#objects ⇒ Object (readonly)
Returns the value of attribute objects.
5 6 7 |
# File 'lib/tdms/segment.rb', line 5 def objects @objects end |
#prev_segment ⇒ Object
Returns the value of attribute prev_segment.
4 5 6 |
# File 'lib/tdms/segment.rb', line 4 def prev_segment @prev_segment end |