Class: Tdms::Document
- Inherits:
-
Object
- Object
- Tdms::Document
- Defined in:
- lib/tdms/document.rb
Instance Attribute Summary collapse
-
#channels ⇒ Object
readonly
Returns the value of attribute channels.
-
#file ⇒ Object
readonly
Returns the value of attribute file.
-
#segments ⇒ Object
readonly
Returns the value of attribute segments.
Instance Method Summary collapse
-
#initialize(file) ⇒ Document
constructor
A new instance of Document.
Constructor Details
#initialize(file) ⇒ Document
6 7 8 9 10 |
# File 'lib/tdms/document.rb', line 6 def initialize(file) @file = file parse_segments build_aggregates end |
Instance Attribute Details
#channels ⇒ Object (readonly)
Returns the value of attribute channels.
4 5 6 |
# File 'lib/tdms/document.rb', line 4 def channels @channels end |
#file ⇒ Object (readonly)
Returns the value of attribute file.
4 5 6 |
# File 'lib/tdms/document.rb', line 4 def file @file end |
#segments ⇒ Object (readonly)
Returns the value of attribute segments.
4 5 6 |
# File 'lib/tdms/document.rb', line 4 def segments @segments end |