Sha256: 27804f2f36d6ac940b91981b4c67ef4bb98cf157efaf0e401b26b8d66161b099

Contents?: true

Size: 390 Bytes

Versions: 12

Compression:

Stored size: 390 Bytes

Contents

Mutant::Meta::Example.add do
  source '/foo/'

  singleton_mutations
  mutation '//'    # match all
  mutation '/a\A/' # match nothing
end

Mutant::Meta::Example.add do
  source '/#{foo.bar}n/'

  singleton_mutations
  mutation '//' # match all
  mutation '/#{foo}n/'
  mutation '/a\A/'         # match nothing
  mutation '/#{self.bar}n/'
  mutation '/#{nil}n/'
  mutation '/#{self}n/'
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
mutant-0.8.10 meta/regex.rb
mutant-0.8.9 meta/regex.rb
mutant-0.8.8 meta/regex.rb
mutant-0.8.7 meta/regex.rb
mutant-0.8.6 meta/regex.rb
mutant-0.8.5 meta/regex.rb
mutant-0.8.4 meta/regex.rb
mutant-0.8.3 meta/regex.rb
mutant-0.8.2 meta/regex.rb
mutant-0.8.1 meta/regex.rb
mutant-0.8.0 meta/regex.rb
mutant-0.7.9 meta/regex.rb