Class: EorzeaWeather::Locale
- Inherits:
-
Struct
- Object
- Struct
- EorzeaWeather::Locale
- Defined in:
- lib/eorzea_weather/locale.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#weather ⇒ Object
Returns the value of attribute weather.
-
#zone ⇒ Object
Returns the value of attribute zone.
Instance Method Summary collapse
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
2 3 4 |
# File 'lib/eorzea_weather/locale.rb', line 2 def id @id end |
#weather ⇒ Object
Returns the value of attribute weather
2 3 4 |
# File 'lib/eorzea_weather/locale.rb', line 2 def weather @weather end |
#zone ⇒ Object
Returns the value of attribute zone
2 3 4 |
# File 'lib/eorzea_weather/locale.rb', line 2 def zone @zone end |
Instance Method Details
#inspect ⇒ Object
3 4 5 |
# File 'lib/eorzea_weather/locale.rb', line 3 def inspect "#<#{self.class}: #{id}>" end |