Programming Ruby 3.2 (5th Edition): Typo (page 475)
Should be “and” not “an”
Current:
"You can also alias inside a module or class with the method Module.alias_method(new_name, old_name)
, which has the same behavior as alias but acts as a method an not a keyword.
Suggested correction:
"You can also alias inside a module or class with the method Module.alias_method(new_name, old_name)
, which has the same behavior as alias but acts as a method and not a keyword.