Sha256: 3835f0f6f9c8595a95d4b46abbce54d31a3d5e237b84ca32d7d195bfea4db432

Contents?: true

Size: 383 Bytes

Versions: 11

Compression:

Stored size: 383 Bytes

Contents

require "date"
require "eph_jcg/version"
require "eph_jcg/argument"
require "eph_jcg/coeffs"
require "eph_jcg/constants"
require "eph_jcg/ephemeris"
require "eph_jcg/time_calculator"

module EphJcg
  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
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
eph_jcg-0.1.12 lib/eph_jcg.rb
eph_jcg-0.1.11 lib/eph_jcg.rb
eph_jcg-0.1.10 lib/eph_jcg.rb
eph_jcg-0.1.9 lib/eph_jcg.rb
eph_jcg-0.1.8 lib/eph_jcg.rb
eph_jcg-0.1.7 lib/eph_jcg.rb
eph_jcg-0.1.6 lib/eph_jcg.rb
eph_jcg-0.1.5 lib/eph_jcg.rb
eph_jcg-0.1.4 lib/eph_jcg.rb
eph_jcg-0.1.3 lib/eph_jcg.rb
eph_jcg-0.1.2 lib/eph_jcg.rb