Skip to content
On this page
class · Ruby 4.0

DidYouMean::MethodNameChecker

< Object 3 instance methods 1 class methods

Class methods 1

Instance methods 3

Constants
No documentation available

MethodNameChecker::RB_RESERVED_WORDS is the list of reserved words in Ruby that take an argument. Unlike VariableNameChecker::RB_RESERVED_WORDS, these reserved words require an argument, and a NoMethodError is raised due to the presence of the argument.

The MethodNameChecker will use this list to suggest a reversed word if a NoMethodError is raised and found closest matches.

Also see VariableNameChecker::RB_RESERVED_WORDS.

Attributes
No documentation available
Read
No documentation available