Sha256: 9194700fe4e11af304ed6dd0cf79b0bad70a4afa9ad70c2c05ab34a4b6a6b479

Contents?: true

Size: 602 Bytes

Versions: 6

Compression:

Stored size: 602 Bytes

Contents

%w{vatsim_online/version vatsim_online/station vatsim_online/data_downloader
   vatsim_online/station_parser vatsim_online/callsign_parser}.each { |lib| require lib }

class String
  def vatsim_online(args={})
    VatsimOnline.vatsim_online(self, args)
  end

  def vatsim_callsign(args={})
    VatsimOnline.vatsim_callsign(self, args)
  end
end

module VatsimOnline

  def self.vatsim_online(icao, args)
    VatsimTools::StationParser.new(icao,args).sorted_station_objects
  end

  def self.vatsim_callsign(callsign, args)
    VatsimTools::CallsignParser.new(callsign,args).station_objects
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
vatsim_online-0.9.1 lib/vatsim_online.rb
vatsim_online-0.9 lib/vatsim_online.rb
vatsim_online-0.8.3 lib/vatsim_online.rb
vatsim_online-0.8.2 lib/vatsim_online.rb
vatsim_online-0.8.1 lib/vatsim_online.rb
vatsim_online-0.8 lib/vatsim_online.rb