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