Skip to content

Instantly share code, notes, and snippets.

@supki
Created March 29, 2013 19:20
Show Gist options
  • Select an option

  • Save supki/5272977 to your computer and use it in GitHub Desktop.

Select an option

Save supki/5272977 to your computer and use it in GitHub Desktop.
WAT
μ> "hi".send :method_missing, :M
NoMethodError: undefined method `M' for "hi":String
from (irb):11
from /usr/bin/irb:12:in `<main>'
μ> "hi".method_missing
NoMethodError: private method `method_missing' called for "hi":String
from (irb):12
from /usr/bin/irb:12:in `<main>'
μ> "hi".send :method_missing, :M
NoMethodError: private method `M' called for "hi":String
from (irb):13
from /usr/bin/irb:12:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment