class RuboCop::Cop::Bridgetown::NoPAllowed

Constants

MSG

Public Instance Methods

on_send(node) click to toggle source
# File lib/rubocop/cop/bridgetown/no_p_allowed.rb, line 11
def on_send(node)
  add_offense(node, :location => :selector) if p_called?(node)
end