class SolCal::Commands::RightAscensionCommand
Protected Instance Methods
do_execute()
click to toggle source
# File lib/solcal/commands/right_ascension_command.rb, line 5 def do_execute Angle.from_rad(Math.atan2(BigDecimal(Math.cos(oblique_correction.to_rad),9)*BigDecimal(Math.sin(app_longitude.to_rad),9),Math.cos(app_longitude.to_rad))) end