Class | Roodi::Checks::MethodNameCheck |
In: |
lib/roodi/checks/method_name_check.rb
|
Parent: | NameCheck |
Checks a method name to make sure it matches the specified pattern.
Keeping to a consistent nameing convention makes your code easier to read.
DEFAULT_PATTERN | = | /^[_a-z<>=\[|+-\/\*`]+[_a-z0-9_<>=~@\[\]]*[=!\?]?$/ |