Skip to content

Instantly share code, notes, and snippets.

@markson
Created November 20, 2012 01:16
Show Gist options
  • Save markson/4115324 to your computer and use it in GitHub Desktop.
Save markson/4115324 to your computer and use it in GitHub Desktop.
Ruby Class with property
[28] pry(main)> class Users
[28] pry(main)* attr_accessor :id, :first_name, :last_name
[28] pry(main)* end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment