Sha256: ddd90e1a4d7e0775661af2d6606a52f006b5e1ef6bc14a3a756b646f57b6765a
Contents?: true
Size: 526 Bytes
Versions: 4
Compression:
Stored size: 526 Bytes
Contents
module Airports class Airport attr_reader :name, :city, :country, :iata, :icao, :latitude, :longitude, :altitude, :timezone, :dst def initialize(name:, city:, country:, iata:, icao:, latitude:, longitude:, altitude:, timezone:, dst:) @name = name @city = city @country = country @iata = iata @icao = icao @latitude = latitude @longitude = longitude @altitude = altitude @timezone = timezone @dst = dst end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
airports-1.2.0 | lib/airports/airport.rb |
airports-1.0.0 | lib/airports/airport.rb |
airports-0.0.2 | lib/airports/airport.rb |
airports-0.0.1 | lib/airports/airport.rb |