Skip to content

Instantly share code, notes, and snippets.

@akahn
Created August 17, 2013 21:03
Show Gist options
  • Select an option

  • Save akahn/6258696 to your computer and use it in GitHub Desktop.

Select an option

Save akahn/6258696 to your computer and use it in GitHub Desktop.
def case_wat
case number = 1
when number == 1
'expected'
else
'wat'
end
end
##
>> case_wat
# => 'wat'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment