Module: VfrUtils::Formatter::Weather

Defined in:
lib/vfr_utils/formatter/weather.rb

Class Method Summary collapse

Class Method Details

.pretty_display(data) ⇒ Object



6
7
8
9
10
11
12
13
14
# File 'lib/vfr_utils/formatter/weather.rb', line 6

def self.pretty_display(data)
  data.each_pair do |icao_code, data_for_aerodrome|
    puts ""
    #puts "=================================================="
    puts "=====================  #{icao_code}  ====================="
    puts data_for_aerodrome[:data]
    puts "=================================================="
  end
end