Created
April 15, 2015 20:29
-
-
Save dabit/f00d25bbb8855a5808e4 to your computer and use it in GitHub Desktop.
private protected
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 Klass | |
def public_method | |
end | |
private | |
def private_method1 | |
end | |
def private_method2 | |
end | |
protected | |
def protected_method1 | |
end | |
def protected_method2 | |
end | |
private | |
def another_private_method | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment