Class: Joule::TCX::Properties
- Inherits:
-
Object
- Object
- Joule::TCX::Properties
- Defined in:
- lib/joule/tcx/properties.rb
Instance Attribute Summary collapse
-
#date_time ⇒ Object
Returns the value of attribute date_time.
-
#record_interval ⇒ Object
Returns the value of attribute record_interval.
Instance Method Summary collapse
Instance Attribute Details
#date_time ⇒ Object
Returns the value of attribute date_time.
4 5 6 |
# File 'lib/joule/tcx/properties.rb', line 4 def date_time @date_time end |
#record_interval ⇒ Object
Returns the value of attribute record_interval.
4 5 6 |
# File 'lib/joule/tcx/properties.rb', line 4 def record_interval @record_interval end |
Instance Method Details
#start_time_in_seconds ⇒ Object
6 7 8 |
# File 'lib/joule/tcx/properties.rb', line 6 def start_time_in_seconds (@date_time.hour * 3600) + (@date_time.min * 60) + @date_time.sec end |