Sha256: 0cf8752a6038e5501997d2b484a9d01149bea57660300ef12244a308d0d4ecb4

Contents?: true

Size: 561 Bytes

Versions: 17

Compression:

Stored size: 561 Bytes

Contents

# frozen_string_literal: true

Mutant::Meta::Example.add :casgn do
  source 'A = true'

  mutation 'A__MUTANT__ = true'
  mutation 'A = false'
  mutation 'A = nil'
  mutation 'remove_const :A'
end

Mutant::Meta::Example.add :casgn do
  source 'self::A = true'

  mutation 'self::A__MUTANT__ = true'
  mutation 'self::A = false'
  mutation 'self::A = nil'
  mutation 'self.remove_const :A'
end

Mutant::Meta::Example.add :casgn do
  source 'A &&= true'

  singleton_mutations
  mutation 'A__MUTANT__ &&= true'
  mutation 'A &&= false'
  mutation 'A &&= nil'
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
mutant-0.9.8 meta/casgn.rb
mutant-0.9.7 meta/casgn.rb
mutant-0.9.6 meta/casgn.rb
mutant-0.9.5 meta/casgn.rb
mutant-0.9.4 meta/casgn.rb
mutant-0.9.3 meta/casgn.rb
mutant-0.9.2 meta/casgn.rb
mutant-0.9.1 meta/casgn.rb
mutant-0.9.0 meta/casgn.rb
mutant-0.8.24 meta/casgn.rb
mutant-0.8.23 meta/casgn.rb
mutant-0.8.22 meta/casgn.rb
mutant-0.8.21 meta/casgn.rb
mutant-0.8.20 meta/casgn.rb
mutant-0.8.19 meta/casgn.rb
mutant-0.8.18 meta/casgn.rb
mutant-0.8.17 meta/casgn.rb