Skip to content

Instantly share code, notes, and snippets.

@andhapp
Forked from haileys/ruby-2.1.rb
Created August 18, 2013 22:55
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 andhapp/6264485 to your computer and use it in GitHub Desktop.
Save andhapp/6264485 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
private 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