Programming Ruby 3.2 (5th Edition): B4.0 page 592, twice /data_3.rb

@noelrappin

page 592, the last code is again /data_3.rb instead of /data_4.rb (objects created with a block)

And ref_meta_ruby/data_4.rb produces cool instead of warm. I think the body of def warmth should be

(color < :point_left: 4500) ? “cool” : “warm”

Correct on both, fixed