Sha256: 5adc8f67cf9bd53db022d03fb7265610028265c24d30dc0bfdfeb170ce72152c
Contents?: true
Size: 401 Bytes
Versions: 5
Compression:
Stored size: 401 Bytes
Contents
# frozen_string_literal: true module RuboCop module Cop module Rake module Helper module OnTask extend NodePattern::Macros def_node_matcher :task?, <<~PATTERN (send nil? :task ...) PATTERN def on_send(node) return unless task?(node) on_task(node) end end end end end end
Version data entries
5 entries across 5 versions & 2 rubygems