Class: Tdms::DataType::Base
- Inherits:
-
Object
- Object
- Tdms::DataType::Base
- Defined in:
- lib/tdms/datatypes.rb
Direct Known Subclasses
Boolean, Double, DoubleWithUnit, Int16, Int32, Int64, Int8, Single, SingleWithUnit, Timestamp, Uint16, Uint32, Uint64, Uint8, Utf8String
Instance Attribute Summary collapse
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value = nil) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(value = nil) ⇒ Base
8 9 10 |
# File 'lib/tdms/datatypes.rb', line 8 def initialize(value=nil) @value = value end |
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value.
6 7 8 |
# File 'lib/tdms/datatypes.rb', line 6 def value @value end |