Skip to content

Instantly share code, notes, and snippets.

@mje113
Forked from haileys/ruby-2.1.rb
Last active December 21, 2015 07:48
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 mje113/6273397 to your computer and use it in GitHub Desktop.
Save mje113/6273397 to your computer and use it in GitHub Desktop.
class Foo
public def my_public_method
1 + 2
end
protected def my_protected_method
3 + 4
end
def my_private_method
5 + 6
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment