Class: LibTAD::Tides::Tide
- Inherits:
-
Object
- Object
- LibTAD::Tides::Tide
- Defined in:
- lib/types/tides/tide.rb
Overview
Information about the tide at a specific point in time.
Instance Attribute Summary collapse
-
#amplitude ⇒ Float
readonly
The elevation of tidal water above or below mean sea level.
-
#phase ⇒ TidalPhase
readonly
The current tidal phase.
-
#time ⇒ ::LibTAD::TADTime::TADTime
readonly
Date/time of the specific tidal data point.
Instance Method Summary collapse
-
#initialize(hash) ⇒ Tide
constructor
A new instance of Tide.
Constructor Details
Instance Attribute Details
#amplitude ⇒ Float (readonly)
The elevation of tidal water above or below mean sea level.
12 13 14 |
# File 'lib/types/tides/tide.rb', line 12 def amplitude @amplitude end |
#phase ⇒ TidalPhase (readonly)
The current tidal phase.
16 17 18 |
# File 'lib/types/tides/tide.rb', line 16 def phase @phase end |
#time ⇒ ::LibTAD::TADTime::TADTime (readonly)
Date/time of the specific tidal data point.
8 9 10 |
# File 'lib/types/tides/tide.rb', line 8 def time @time end |