class VectorEphemerisTable

Public Class Methods

new(rows) click to toggle source
# File lib/tengai/vector_ephemeris_table.rb, line 7
def initialize(rows)
  @rows = rows
end
new_with_table(rows) click to toggle source
# File lib/tengai/vector_ephemeris_table.rb, line 11
def self.new_with_table(rows)
  new(rows.map(&Row.method(:new)))
end

Public Instance Methods

each(&block) click to toggle source
# File lib/tengai/vector_ephemeris_table.rb, line 15
def each(&block)
  @rows.each(&block)
end