Sha256: 518aa564ddb7a0c75173fe62fedfb7a50be2864080119b3d30d8b05490cabef4

Contents?: true

Size: 169 Bytes

Versions: 1

Compression:

Stored size: 169 Bytes

Contents

class HistoricalDating::Range
  def initialize(from, to)
    @from = from
    @to = to
  end

  attr_reader :from, :to

  def julian_range
    [from.jd, to.jd]
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
historical_dating-1.0.0 lib/historical_dating/range.rb