Skip to content

Instantly share code, notes, and snippets.

@americos
Created July 20, 2012 16:11
Show Gist options
  • Save americos/3151607 to your computer and use it in GitHub Desktop.
Save americos/3151607 to your computer and use it in GitHub Desktop.
Documentation for Person.rb using Docco
# This is the documentation for Person
#### Person Class
class Person
# Age variable of Class Person
age = "21"
# Sample method to say Hello
def self.say_hello
puts("Hello there!")
end
# Method to return age
def self.get_age
age
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment