Class: EorzeaWeather::Locale

Inherits:
Struct
  • Object
show all
Defined in:
lib/eorzea_weather/locale.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



2
3
4
# File 'lib/eorzea_weather/locale.rb', line 2

def id
  @id
end

#weatherObject

Returns the value of attribute weather

Returns:

  • (Object)

    the current value of weather



2
3
4
# File 'lib/eorzea_weather/locale.rb', line 2

def weather
  @weather
end

#zoneObject

Returns the value of attribute zone

Returns:

  • (Object)

    the current value of zone



2
3
4
# File 'lib/eorzea_weather/locale.rb', line 2

def zone
  @zone
end

Instance Method Details

#inspectObject



3
4
5
# File 'lib/eorzea_weather/locale.rb', line 3

def inspect
  "#<#{self.class}: #{id}>"
end