class SolCal::Commands::DeclinationCommand
Protected Instance Methods
do_execute()
click to toggle source
# File lib/solcal/commands/declination_command.rb, line 5 def do_execute Angle.from_rad(Math.asin(Math.sin(oblique_correction.to_rad)*Math.sin(app_longitude.to_rad))) end