lib/airports/airport.rb in airports-1.3.0 vs lib/airports/airport.rb in airports-1.4.0

- old
+ new

@@ -1,10 +1,13 @@ +# frozen_string_literal: true + module Airports class Airport attr_reader :name, :city, :country, :iata, :icao, :latitude, :longitude, :altitude, :timezone, :dst, :tz_name + # rubocop:disable Metrics/MethodLength def initialize(name:, city:, country:, iata:, icao:, latitude:, longitude:, altitude:, timezone:, dst:, tz_name:) @name = name @city = city @country = country @@ -15,7 +18,8 @@ @altitude = altitude @timezone = timezone @dst = dst @tz_name = tz_name end + # rubocop:enable Metrics/MethodLength end end