Method: RuboCop::AST::MethodDispatchNode#const_receiver?
- Defined in:
- lib/rubocop/ast/node/mixin/method_dispatch_node.rb
#const_receiver? ⇒ Boolean
Checks whether the explicit receiver of this method dispatch is a ‘const` node.
116 117 118 |
# File 'lib/rubocop/ast/node/mixin/method_dispatch_node.rb', line 116 def const_receiver? receiver && receiver.const_type? end |