Sha256: 1b67cda4407fbddc44cb094445fd8f3357dde0c4f9f74a2e9a1fc5a19a1c5866
Contents?: true
Size: 566 Bytes
Versions: 5
Compression:
Stored size: 566 Bytes
Contents
# @!method a_path_matching_pattern(/pattern/) # This matchers checks if <path> matches pattern. `pattern` can be a string, # regexp or an RSpec matcher. # # @param [String, Regexp, Matcher] pattern # Specifies the pattern # # @return [Boolean] The result # # false: # * if pattern does not match # # true: # * if pattern matches # # @example Use matcher with regexp # # RSpec.describe do # it { expect(files).to include a_path_matching_pattern /asdf/ } # end RSpec::Matchers.alias_matcher :a_path_matching_pattern, :match
Version data entries
5 entries across 5 versions & 2 rubygems