class RuboCop::Cop::PollEverywhere::Constantize
Constants
- MSG
Public Instance Methods
on_send(node)
click to toggle source
# File lib/rubocop/cop/polleverywhere/constantize.rb, line 13 def on_send(node) return unless constantize?(node) add_offense(node, location: :selector) end