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 < 4500) ? “cool” : “warm”
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 < 4500) ? “cool” : “warm”
Correct on both, fixed