Skip to content

Instantly share code, notes, and snippets.

@richo
Last active August 29, 2015 14:23
Show Gist options
  • Select an option

  • Save richo/913f5dc3b2f771bb38bc to your computer and use it in GitHub Desktop.

Select an option

Save richo/913f5dc3b2f771bb38bc to your computer and use it in GitHub Desktop.
class Butts
attr_reader :foo
def new(whatever)
@foo = whatever
end
end
butts = Butts.new("hi there")
butts.foo # => "hi there"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment