Class: Weather::Forecast::Night
- Inherits:
-
FutureConditions
- Object
- Conditions
- FutureConditions
- Weather::Forecast::Night
- Defined in:
- lib/weather/forecast.rb
Overview
The nighttime part of a forecast for a given day.
Instance Attribute Summary
Attributes inherited from FutureConditions
Instance Method Summary collapse
-
#initialize(element) ⇒ Night
constructor
A new instance of Night.
- #temp ⇒ Object (also: #tmp, #temperature)
Methods inherited from FutureConditions
#date, #high, #icon, #latest_update, #low, #method_missing, #outlook, #outlook_brief, #pop, #sunrise, #sunset, #wind
Methods inherited from Conditions
#latest_update, #method_missing, #wind
Constructor Details
#initialize(element) ⇒ Night
Returns a new instance of Night.
365 366 367 |
# File 'lib/weather/forecast.rb', line 365 def initialize(element) super(element) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Weather::Forecast::FutureConditions
Instance Method Details
#temp ⇒ Object Also known as: tmp, temperature
369 370 371 |
# File 'lib/weather/forecast.rb', line 369 def temp low end |