Skip to content

Instantly share code, notes, and snippets.

@Olefine
Last active December 17, 2015 16:58
Show Gist options
  • Save Olefine/5642238 to your computer and use it in GitHub Desktop.
Save Olefine/5642238 to your computer and use it in GitHub Desktop.
lambda expiriments
l = lambda do |string|
if string == "try"
return "There's no such thing"
else
return "Do or do not."
end
end
puts l.call("try")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment