Class: TimeSlot
- Inherits:
-
Object
- Object
- TimeSlot
- Defined in:
- lib/timeslot.rb
Instance Attribute Summary collapse
-
#conditions ⇒ Object
Returns the value of attribute conditions.
-
#humidity ⇒ Object
Returns the value of attribute humidity.
-
#icon_url ⇒ Object
Returns the value of attribute icon_url.
-
#next ⇒ Object
Returns the value of attribute next.
-
#pressure ⇒ Object
Returns the value of attribute pressure.
-
#prev ⇒ Object
Returns the value of attribute prev.
-
#temperature ⇒ Object
Returns the value of attribute temperature.
-
#time ⇒ Object
Returns the value of attribute time.
-
#visibility ⇒ Object
Returns the value of attribute visibility.
-
#wind_direction ⇒ Object
Returns the value of attribute wind_direction.
-
#wind_speed ⇒ Object
Returns the value of attribute wind_speed.
Instance Method Summary collapse
-
#initialize ⇒ TimeSlot
constructor
A new instance of TimeSlot.
Constructor Details
#initialize ⇒ TimeSlot
Returns a new instance of TimeSlot.
4 5 |
# File 'lib/timeslot.rb', line 4 def initialize end |
Instance Attribute Details
#conditions ⇒ Object
Returns the value of attribute conditions.
2 3 4 |
# File 'lib/timeslot.rb', line 2 def conditions @conditions end |
#humidity ⇒ Object
Returns the value of attribute humidity.
2 3 4 |
# File 'lib/timeslot.rb', line 2 def humidity @humidity end |
#icon_url ⇒ Object
Returns the value of attribute icon_url.
2 3 4 |
# File 'lib/timeslot.rb', line 2 def icon_url @icon_url end |
#next ⇒ Object
Returns the value of attribute next.
2 3 4 |
# File 'lib/timeslot.rb', line 2 def next @next end |
#pressure ⇒ Object
Returns the value of attribute pressure.
2 3 4 |
# File 'lib/timeslot.rb', line 2 def pressure @pressure end |
#prev ⇒ Object
Returns the value of attribute prev.
2 3 4 |
# File 'lib/timeslot.rb', line 2 def prev @prev end |
#temperature ⇒ Object
Returns the value of attribute temperature.
2 3 4 |
# File 'lib/timeslot.rb', line 2 def temperature @temperature end |
#time ⇒ Object
Returns the value of attribute time.
2 3 4 |
# File 'lib/timeslot.rb', line 2 def time @time end |
#visibility ⇒ Object
Returns the value of attribute visibility.
2 3 4 |
# File 'lib/timeslot.rb', line 2 def visibility @visibility end |
#wind_direction ⇒ Object
Returns the value of attribute wind_direction.
2 3 4 |
# File 'lib/timeslot.rb', line 2 def wind_direction @wind_direction end |
#wind_speed ⇒ Object
Returns the value of attribute wind_speed.
2 3 4 |
# File 'lib/timeslot.rb', line 2 def wind_speed @wind_speed end |