Method: Rubocop::Cop::WithoutReactiveCache#on_send
- Defined in:
- lib/rubocop/cop/without_reactive_cache.rb
#on_send(node) ⇒ Object
9 10 11 12 13 |
# File 'lib/rubocop/cop/without_reactive_cache.rb', line 9 def on_send(node) return unless node.children[1] == :without_reactive_cache add_offense(node.loc.selector) end |