Skip to content

Instantly share code, notes, and snippets.

@rwjblue
Created September 9, 2011 01:46
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 rwjblue/1205294 to your computer and use it in GitHub Desktop.
Save rwjblue/1205294 to your computer and use it in GitHub Desktop.
Method Missing Test Class
class MethodMissingTest
def method_missing(method_name, *args, &block)
puts 'Method Called: ' + method_name.to_s
puts 'Arguments: ' + args.to_s
puts 'Block Given: ' + block_given?.to_s
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment