Programming Ruby 3.2 (5th Edition): B2.0 page 468, missing puts

@noelrappin

page 468, reference/kwargs_2.rb produces no output :

% ruby -w reference/kwargs_2.rb 
%

Adding puts to the last line shows a result :

puts header("TOC", class: "nav", level: 2, id: 123)

% ruby -w reference/kwargs_2.rb
<h2 class="nav" id="123">TOC</h2>