Sha256: 9af926c7acf9c6a2d845f3980ee2680388bda564af344fe45e274ea48ff53cf0
Contents?: true
Size: 383 Bytes
Versions: 20
Compression:
Stored size: 383 Bytes
Contents
# frozen_string_literal: true module RuboCop module RSpec module Language # Helper methods to detect RSpec DSL used with send and block module NodePattern def send_pattern(string) "(send #rspec? #{string} ...)" end def block_pattern(string) "(block #{send_pattern(string)} ...)" end end end end end
Version data entries
20 entries across 18 versions & 2 rubygems