Skip to content

Instantly share code, notes, and snippets.

/test.rb Secret

Created April 28, 2015 04:10
Show Gist options
  • Save anonymous/2e1f7398a38a9f281838 to your computer and use it in GitHub Desktop.
Save anonymous/2e1f7398a38a9f281838 to your computer and use it in GitHub Desktop.
test = Proc.new { |a,b| a < b}
def bananas(i,ii,proc)
proc.call(i,ii)
end
bananas(1,2,test)
> true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment