Sha256: b0736da011394f72d8cbe1670c299f9912f18fdf1538cb64f1562f5e8af63fff

Contents?: true

Size: 535 Bytes

Versions: 9

Compression:

Stored size: 535 Bytes

Contents

# encoding: utf-8

Mutant::Meta::Example.add do
  source 'super'

  singleton_mutations
end

Mutant::Meta::Example.add do
  source 'super()'

  singleton_mutations
  # this is zsuper a totally differend node thant super()
  mutation 'super'
end

Mutant::Meta::Example.add do
  source 'super(foo, bar)'

  singleton_mutations
  mutation 'super'
  mutation 'super()'
  mutation 'super(foo)'
  mutation 'super(bar)'
  mutation 'super(foo, nil)'
  mutation 'super(foo, self)'
  mutation 'super(nil, bar)'
  mutation 'super(self, bar)'
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
mutant-0.6.0 meta/super.rb
mutant-0.5.26 meta/super.rb
mutant-0.5.25 meta/super.rb
mutant-0.5.24 meta/super.rb
mutant-0.5.23 meta/super.rb
mutant-0.5.22 meta/super.rb
mutant-0.5.21 meta/super.rb
mutant-0.5.20 meta/super.rb
mutant-0.5.19 meta/super.rb