Sha256: 627310977366119d8488f51b1b60dc9931993c7c547f72a8809a07441fbdeaeb
Contents?: true
Size: 426 Bytes
Versions: 4
Compression:
Stored size: 426 Bytes
Contents
# frozen_string_literal: true module RuboCop module Cop module Rake module Helper module OnNamespace extend NodePattern::Macros def_node_matcher :namespace?, <<~PATTERN (send nil? :namespace ...) PATTERN def on_send(node) return unless namespace?(node) on_namespace(node) end end end end end end
Version data entries
4 entries across 4 versions & 2 rubygems