Module: USNO::Transit

Defined in:
lib/usno/transit.rb,
lib/usno/transit/vega.rb,
lib/usno/transit/client.rb,
lib/usno/transit/us_request.rb

Defined Under Namespace

Classes: Achernar, Adhara, Aldebaran, Altair, Antares, Arcturus, Betelgeuse, Canopus, Capella, Client, Deneb, Fomalhaut, Hadar, Jupiter, Mars, Mercury, Mimosa, Moon, Neptune, Pluto, Polaris, Pollux, Procyon, Regulus, Rigel, RigilKentaurus, Saturn, Sirius, Spica, Sun, USRequest, Uranus, Vega, Venus, View

Constant Summary collapse

BODIES =
{
  "Sun" => 10, "Moon" => 11, "Mercury" => 1, "Venus" => 2,"Jupiter" => 5,
  "Mars" => 4, "Saturn" => 6, "Uranus" => 7, "Neptune" => 8, "Pluto" => 9,
  "Achernar" => -1, "Adhara" => -2, "Aldebaran" => -3, "Altair" => -4,
  "Antares" => -5, "Arcturus" => -6, "Betelgeuse" => -7, "Canopus" => -8,
  "Capella" => -9, "Deneb" => -10, "Fomalhaut" => -11, "Hadar" => -12,
  "Mimosa" => -13, "Polaris" => -14, "Pollux" => -15, "Procyon" => -16,
  "Regulus" => -17, "Rigel" => -18, "RigilKentaurus" => -19, "Vega" => -22,
  "Sirius" => -20, "Spica" => -21,
}