Skip to content

Instantly share code, notes, and snippets.

@rajraj
Created April 16, 2013 15:20
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 rajraj/5396814 to your computer and use it in GitHub Desktop.
Save rajraj/5396814 to your computer and use it in GitHub Desktop.
class Person
attr_reader :name
def initialize(name)
@name = name
end
def introduce
"hello, my name is #{@name}"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment