class RuboCop::AST::ConstNode
def module_name?
-
(Boolean)
- if the constant is a Module / Class, according to the standard convention.
def module_name? short_name.match?(/[[:lower:]]/) end
(Boolean)
- if the constant is a Module / Class, according to the standard convention.
def module_name? short_name.match?(/[[:lower:]]/) end