Programming Ruby 3.2 (5th Edition): B1.0 page 204, calculates --> returns?

@noelrappin

page 204, paragraph 7 (counting code and output for one), line 2 :

Subsequently, the last source.take returns nil and ends the while loop and the counter calculates
                                                                                -----> ^^^^^^^^^^
the result.

As there is no computation, returns the result would also be appropriate.