Skip to content

Instantly share code, notes, and snippets.

@joevandyk
Created April 26, 2016 22:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joevandyk/238ea7b63a9adfb71a415c2fbf982f2d to your computer and use it in GitHub Desktop.
Save joevandyk/238ea7b63a9adfb71a415c2fbf982f2d to your computer and use it in GitHub Desktop.
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