Sha256: 06c97995165c46cb7fdf48ddece6f99b1fd0b6ccc01b3491f6c61be8013b08fb

Contents?: true

Size: 645 Bytes

Versions: 5

Compression:

Stored size: 645 Bytes

Contents

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

5 entries across 5 versions & 1 rubygems

Version Path
mutant-0.8.3 meta/or_asgn.rb
mutant-0.8.2 meta/or_asgn.rb
mutant-0.8.1 meta/or_asgn.rb
mutant-0.8.0 meta/or_asgn.rb
mutant-0.7.9 meta/or_asgn.rb