Class: Astro::Moon::PhaseHunt

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#first_quarterObject

Returns the value of attribute first_quarter

Returns:

  • (Object)

    the current value of first_quarter



30
31
32
# File 'lib/astro/moon.rb', line 30

def first_quarter
  @first_quarter
end

#last_quarterObject

Returns the value of attribute last_quarter

Returns:

  • (Object)

    the current value of last_quarter



30
31
32
# File 'lib/astro/moon.rb', line 30

def last_quarter
  @last_quarter
end

#moon_endObject

Returns the value of attribute moon_end

Returns:

  • (Object)

    the current value of moon_end



30
31
32
# File 'lib/astro/moon.rb', line 30

def moon_end
  @moon_end
end

#moon_fullObject

Returns the value of attribute moon_full

Returns:

  • (Object)

    the current value of moon_full



30
31
32
# File 'lib/astro/moon.rb', line 30

def moon_full
  @moon_full
end

#moon_startObject

Returns the value of attribute moon_start

Returns:

  • (Object)

    the current value of moon_start



30
31
32
# File 'lib/astro/moon.rb', line 30

def moon_start
  @moon_start
end