Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
djur
on Nov 30, 2022
|
parent
|
context
|
favorite
| on:
Ruby adds a core class called Data to represent si...
Agreed. The second chapter of Programming Ruby, "Classes, Objects, and Variables", shows you how to manually implement 'attributes' before introducing you to the attr_* methods. This is fundamental stuff.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: