Created
September 9, 2011 01:46
-
-
Save rwjblue/1205294 to your computer and use it in GitHub Desktop.
Method Missing Test Class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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