Created
April 26, 2016 22:12
-
-
Save joevandyk/238ea7b63a9adfb71a415c2fbf982f2d 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 Foo | |
def initialize(something) | |
@something = something | |
end | |
def call | |
if private_method_this? && private_method_that? | |
result | |
end | |
end | |
def private_method_this? | |
@something .. | |
end | |
def private_method_that? | |
@something .. | |
end | |
def result | |
other_private_methods .. | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment