class RuboCop::Cop::Bridgetown::NoPutsAllowed

Constants

MSG

Public Instance Methods

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