Programming Ruby 3.2 (5th Edition): B4.0 page 603, program_name = nil

@noelrappin

page 603, second to last paragraph, first line : program_name instead of progname

You add new entries to the log with Logger#add(severity, message = nil, program_name = nil),
                                                                 -----> ^^^^^^^^^^^^

The documentation uses progname, or the paragraph above starting with Valid keyword arguments for the options hash.

In general, where the exact name doesn’t matter externally to the method, I’ve tried to expand abbreviated parameter names, this is weird because it does matter in the options hash, but not as the name of a positional argument