Skip to content

Instantly share code, notes, and snippets.

@fridgerator
Created December 10, 2016 22:39
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 fridgerator/890bd8d5f9fdc19f2e7445cbaf3fb5f0 to your computer and use it in GitHub Desktop.
Save fridgerator/890bd8d5f9fdc19f2e7445cbaf3fb5f0 to your computer and use it in GitHub Desktop.
class Thing
property butts : String?
def butts=(val)
puts "setting butts"
@butts = val
end
end
t = Thing.new
t.butts = "I like big"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment