page 598, in Shortcuts
- A. bullet
Kernel#chompsays :
$_ (the result of the most recent expresssion)
But
r = 1 + 2
puts $_.inspect # => nil
pages 232, 451, 459 all describe $_ as the most recent line input by gets or readline
-
B. in bullet
Kernel#chop, missing dot after $_ in$_dup.chop() -
C.
Kernel.pretty_inspect: something wrong inPP.pp(self, ".dup)