Sha256: 2688857cf1b34b9270ef5b5d769126800d14a7b1192a7f1481afc5a1e672206d
Contents?: true
Size: 374 Bytes
Versions: 7
Compression:
Stored size: 374 Bytes
Contents
#!/usr/bin/env ruby require 'wunderground_thor' result = Wunderground.start(ARGV) if result.is_a?(Hash) && result.has_key?("location") puts <<-EOT Current conditions for: #{result["location"]}: #{"=" * 80} Temperature: #{result["temp"]} #{result["condition"]}, Feels like #{result["feel"]} High today: #{result["high"]} Low: #{result["low"]} EOT else puts result end
Version data entries
7 entries across 7 versions & 1 rubygems