Sha256: 32919bdbd78144dca650e17e9a98ad71a48e21b78c259433abc3f278fc9c07d2

Contents?: true

Size: 409 Bytes

Versions: 21

Compression:

Stored size: 409 Bytes

Contents

# encoding: utf-8

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

21 entries across 21 versions & 1 rubygems

Version Path
mutant-0.7.8 meta/regex.rb
mutant-0.7.7 meta/regex.rb
mutant-0.7.6 meta/regex.rb
mutant-0.7.5 meta/regex.rb
mutant-0.7.4 meta/regex.rb
mutant-0.7.3 meta/regex.rb
mutant-0.7.2 meta/regex.rb
mutant-0.7.1 meta/regex.rb
mutant-0.6.7 meta/regex.rb
mutant-0.6.6 meta/regex.rb
mutant-0.6.5 meta/regex.rb
mutant-0.6.4 meta/regex.rb
mutant-0.6.3 meta/regex.rb
mutant-0.6.2 meta/regex.rb
mutant-0.6.0 meta/regex.rb
mutant-0.5.26 meta/regex.rb
mutant-0.5.25 meta/regex.rb
mutant-0.5.24 meta/regex.rb
mutant-0.5.23 meta/regex.rb
mutant-0.5.22 meta/regex.rb