Skip to content

Instantly share code, notes, and snippets.

@practicingruby
Created October 14, 2011 01:44
Show Gist options
  • Select an option

  • Save practicingruby/1286046 to your computer and use it in GitHub Desktop.

Select an option

Save practicingruby/1286046 to your computer and use it in GitHub Desktop.
>> class NotAProc
>> def call
>> puts "YES"
>> end
>> end
=> nil
>> NotAProc.new.()
YES
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment