Created
October 6, 2013 23:46
-
-
Save stouset/6860605 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 Name | |
CONSTANT_1 = :a | |
CONSTANT_2 = :b | |
include Module | |
attr_accessor :accessor1 | |
attr_accessor :accessor2 | |
def self.method(*args) | |
# ... | |
end | |
def initialize(*args) | |
# ... | |
end | |
def method(*args) | |
# ... | |
end | |
protected | |
attr_accessor :protected_attribute | |
def protected_method(*args) | |
# ... | |
end | |
private | |
attr_accessor :private_attribute | |
def private_method(*args) | |
# ... | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment