Last active
August 29, 2015 14:07
-
-
Save shidel-dev/55a4658676096c8cac31 to your computer and use it in GitHub Desktop.
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
module Magic | |
def self.respond_to?(method_sym, include_private = false) | |
#Logic to decide which methods to respond to. | |
end | |
def self.method_missing(m, *args, &block) | |
#dynamically handle method calls | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment