Sha256: dce7ae4534176efe8abf7535d1a39621e8d96a51dd20ddf277df33100819a981

Contents?: true

Size: 664 Bytes

Versions: 18

Compression:

Stored size: 664 Bytes

Contents

# encoding: utf-8

Mutant::Meta::Example.add do
  source 'a ||= 1'

  singleton_mutations
  mutation 'a__mutant__ ||= 1'
  mutation 'a ||= nil'
  mutation 'a ||= self'
  mutation 'a ||= 0'
  mutation 'a ||= -1'
  mutation 'a ||= 2'
end

Mutant::Meta::Example.add do
  source '@a ||= 1'

  singleton_mutations
  mutation '@a ||= nil'
  mutation '@a ||= self'
  mutation '@a ||= 0'
  mutation '@a ||= -1'
  mutation '@a ||= 2'
end

Mutant::Meta::Example.add do
  source 'foo[:bar] ||= 1'

  singleton_mutations
  mutation 'foo[:bar] ||= nil'
  mutation 'foo[:bar] ||= self'
  mutation 'foo[:bar] ||= 0'
  mutation 'foo[:bar] ||= -1'
  mutation 'foo[:bar] ||= 2'
end

Version data entries

18 entries across 18 versions & 1 rubygems

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