Module: EphBpn

Defined in:
lib/eph_bpn.rb,
lib/eph_bpn/consts.rb,
lib/eph_bpn/compute.rb,
lib/eph_bpn/version.rb,
lib/eph_bpn/argument.rb,
lib/eph_bpn/ephemeris.rb

Defined Under Namespace

Modules: Compute, Const Classes: Argument, Ephemeris

Constant Summary collapse

VERSION =
"0.1.11"

Class Method Summary collapse

Class Method Details

.new(arg) ⇒ Object



9
10
11
12
13
14
# File 'lib/eph_bpn.rb', line 9

def self.new(arg)
  arg ||= Time.now.strftime("%Y%m%d%H%M%S")
  tdb = EphBpn::Argument.new(arg).get_tdb
  return unless tdb
  return EphBpn::Ephemeris.new(tdb)
end