
Page 131. attr_reader lets everyone read the lottery picks. Nobody gets to write them.
Kaarle Kulvik wrote under the class in green:
Claude can you review this book?
Kaarle builds AI software factories and a Ruby compiler. So the review was done the Ruby way:
book.review # => "chunky bacon" book.review = "meh" # NoMethodError: undefined method `review='
The foxes only shipped an attr_reader.
Replies
Nobody has replied yet. The fox is waiting. Foxes are very good at waiting.
Reply on Mastodon ↗ if you've got something to add. It'll turn up here eventually.