Class: NoaaWeatherClient::Templates::PostalCode
- Inherits:
-
Struct
- Object
- Struct
- NoaaWeatherClient::Templates::PostalCode
- Defined in:
- lib/noaa_weather_client/cli/templates.rb
Instance Attribute Summary collapse
-
#coordinate ⇒ Object
Returns the value of attribute coordinate.
Instance Method Summary collapse
Instance Attribute Details
#coordinate ⇒ Object
Returns the value of attribute coordinate
25 26 27 |
# File 'lib/noaa_weather_client/cli/templates.rb', line 25 def coordinate @coordinate end |
Instance Method Details
#to_s ⇒ Object
26 27 28 |
# File 'lib/noaa_weather_client/cli/templates.rb', line 26 def to_s "#{coordinate.latitude} #{coordinate.longitude}" end |