Module: IGC

Defined in:
lib/igc.rb,
lib/igc/fix.rb,
lib/igc/flight.rb,
lib/igc/parser.rb,
lib/igc/version.rb,
lib/igc/location.rb

Overview

IGC is a library to parse IGC files

IGC.parse_file("path/to/file.igc")

Defined Under Namespace

Classes: Error, Fix, Flight, Location, Parser

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.parse(str) ⇒ Object



16
17
18
# File 'lib/igc.rb', line 16

def self.parse(str)
  Parser.new(str).parse
end

.parse_file(path) ⇒ Object



20
21
22
# File 'lib/igc.rb', line 20

def self.parse_file(path)
  parse(File.read(path))
end