Skip to content

Instantly share code, notes, and snippets.

@rwjblue
Created September 9, 2011 01:46
Show Gist options
  • 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