Programming Ruby 3.2 (5th Edition): B1.0 page 268, twice that + Notice

@noelrappin

page 268, first paragraph, last line : twice that

reference to Aaagnmr::Options, it knows that that the corresponding file is lib/aaagnmr/options.rb.
                                 -----> ^^^^^^^^^

+++++ Next paragraph, third line :

in lib/aaagnmr/options.rb, looks like this: Notice how we define the Options class inside a top-

Normally “The source, in lib/aaagnmr/options.rb, looks like this:” would be followed by the code. Therefore the sentence

Notice how we define the Options class inside a toplevel Anagram module.

should be put in parentheses, so that the whole sentence would be :

The source, in lib/aaagnmr/options.rb, looks like this: (notice how we define the Options class inside a toplevel Anagram module)

gems/aaagmnr/lib/aaagmnr/options.rb
module Aaagmnr
  class Options
...

Thanks – in the bottom case, I think the “Notice” sentence is meant to be after the code sample, not before.