Module: NoaaWeatherClient::StationFilters
- Defined in:
- lib/noaa_weather_client/station_filters.rb
Class Method Summary collapse
Class Method Details
.icao ⇒ Object
4 5 6 |
# File 'lib/noaa_weather_client/station_filters.rb', line 4 def self.icao ->(station) { (station.station_id =~ /\A[A-Z|0-9]{4}\z/) ? true : false } end |