Skip to content

Instantly share code, notes, and snippets.

@tenderlove
Created May 22, 2014 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tenderlove/21aab293a11e71e7fbdb to your computer and use it in GitHub Desktop.
Save tenderlove/21aab293a11e71e7fbdb to your computer and use it in GitHub Desktop.
class Foo
def method_missing name, *args
p args
end
end
class Bar < Foo
def omg
super # should raise a no method error
end
end
Bar.new.omg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment