Module: EphJpl

Defined in:
lib/eph_jpl.rb,
lib/eph_jpl/const.rb,
lib/eph_jpl/binary.rb,
lib/eph_jpl/version.rb,
lib/eph_jpl/argument.rb,
lib/eph_jpl/ephemeris.rb

Defined Under Namespace

Modules: Const Classes: Argument, Binary, Ephemeris

Constant Summary collapse

VERSION =
"0.1.2"

Class Method Summary collapse

Class Method Details

.new(*args) ⇒ Object



8
9
10
11
12
# File 'lib/eph_jpl.rb', line 8

def self.new(*args)
  bin_path, target, center, jd, km = Argument.new(*args).get_args
  bin = Binary.new(bin_path, target, center, jd).get_binary
  return EphJpl::Ephemeris.new(target, center, jd, bin, km)
end