Skip to content

Instantly share code, notes, and snippets.

@perspectivezoom
Created June 13, 2012 23:15
Show Gist options
  • Save perspectivezoom/2927094 to your computer and use it in GitHub Desktop.
Save perspectivezoom/2927094 to your computer and use it in GitHub Desktop.
def weather(sym)
{:san_francisco => 60, :chicago => 30, :miami => 70, :los_angeles => 80, :anchorage => 10}[sym]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment