class RubbyCop::Cop::Style::Send
This cop checks for the use of the send method.
Constants
- MSG
Public Instance Methods
on_send(node)
click to toggle source
# File lib/rubbycop/cop/style/send.rb, line 13 def on_send(node) return unless sending?(node) && node.arguments? add_offense(node, :selector) end