Programming Ruby 3.2 (5th Edition): B1.0 page 111 add puts in example

@noelrappin

Page 111, example tut_modules/vowel_finder_sum.rb

All this code with three classes including Summable for only one line of output ?

Adding puts to these two statements :

puts [1, 2, 3, 4, 5].sum
puts ("a".."m").sum

will produce all three sums in the same place :

% ruby -w tut_modules/vowel_finder_sum.rb
15
abcdefghijklm
euiooue

I think what I want here is the comment-output style so that none of these need puts

Thanks!