Class: Astro::Moon::PhaseHunt
- Inherits:
-
Struct
- Object
- Struct
- Astro::Moon::PhaseHunt
- Defined in:
- lib/astro/moon.rb
Overview
a container structure for phasehunt() return value. accessors:
moon_start - a DateTime of the most recent new moon
moon_end - a DateTime of the next new moon
moon_fill - a DateTime of the full moon of this lunar month
first_quarter, last_quarter -- <...>
Instance Attribute Summary collapse
-
#first_quarter ⇒ Object
Returns the value of attribute first_quarter.
-
#last_quarter ⇒ Object
Returns the value of attribute last_quarter.
-
#moon_end ⇒ Object
Returns the value of attribute moon_end.
-
#moon_full ⇒ Object
Returns the value of attribute moon_full.
-
#moon_start ⇒ Object
Returns the value of attribute moon_start.
Instance Attribute Details
#first_quarter ⇒ Object
Returns the value of attribute first_quarter
30 31 32 |
# File 'lib/astro/moon.rb', line 30 def first_quarter @first_quarter end |
#last_quarter ⇒ Object
Returns the value of attribute last_quarter
30 31 32 |
# File 'lib/astro/moon.rb', line 30 def last_quarter @last_quarter end |
#moon_end ⇒ Object
Returns the value of attribute moon_end
30 31 32 |
# File 'lib/astro/moon.rb', line 30 def moon_end @moon_end end |
#moon_full ⇒ Object
Returns the value of attribute moon_full
30 31 32 |
# File 'lib/astro/moon.rb', line 30 def moon_full @moon_full end |
#moon_start ⇒ Object
Returns the value of attribute moon_start
30 31 32 |
# File 'lib/astro/moon.rb', line 30 def moon_start @moon_start end |