Sha256: b277503a919bd76d425b771d684ebcd5de2243481059b4838f3f5bfcdfb3c51b

Contents?: true

Size: 323 Bytes

Versions: 2

Compression:

Stored size: 323 Bytes

Contents

# frozen_string_literal: true

module RuboCop
  module RSpec
    module Language
      # Common node matchers used for matching against the rspec DSL
      module NodePattern
        extend RuboCop::NodePattern::Macros

        def_node_matcher :example_group?, ExampleGroups::ALL.block_pattern
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubocop-rspec-1.9.1 lib/rubocop/rspec/language/node_pattern.rb
rubocop-rspec-1.9.0 lib/rubocop/rspec/language/node_pattern.rb