module EphJcg
Constants
- DELTA_T
- DIVS
- EPS
- JST_UTC_SEC
- MOON_DEC
- MOON_HP
- MOON_RA
- MSG_ERR_1
- MSG_ERR_2
- MSG_ERR_3
- PI
- R
- SUN_DEC
- SUN_DIST
- SUN_RA
- VERSION
- Y_MAX
- Y_MIN
Public Class Methods
new(arg = ARGV[0])
click to toggle source
# File lib/eph_jcg.rb, line 10 def self.new(arg = ARGV[0]) arg ||= Time.now.strftime("%Y%m%d") jst = EphJcg::Argument.new(arg).get_jst return if jst == 0 return EphJcg::Ephemeris.new(jst) end