Created
August 20, 2014 13:54
-
-
Save lolgear/116937f7925b514bfd7e 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
class A | |
def needToCallAsInstanceAndClass# or no arguments | |
self.class.needToCallAsInstanceAndClass(self.getArgs) | |
end | |
def self.needToCallAsInstanceAndClass(*args) | |
# wowowow | |
# implementation here | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment