Sha256: 527b9e357e62a582129aaa700e5cd044cda38967f22315bb9cf9cb7bd832de29
Contents?: true
Size: 602 Bytes
Versions: 4
Compression:
Stored size: 602 Bytes
Contents
# frozen_string_literal: true 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
airports-1.8.3 | lib/airports/airport.rb |
airports-1.8.2 | lib/airports/airport.rb |
airports-1.8.1 | lib/airports/airport.rb |
airports-1.8.0 | lib/airports/airport.rb |