2018-09-12 10:21:24 -04:00
|
|
|
# frozen_string_literal: true
|
2018-09-12 09:15:43 -04:00
|
|
|
|
2016-03-19 11:13:05 -04:00
|
|
|
Mutant::Meta::Example.add :super do
|
2014-06-02 08:57:14 -04:00
|
|
|
source 'super'
|
|
|
|
|
2014-06-05 12:37:31 -04:00
|
|
|
singleton_mutations
|
2015-08-10 17:25:50 -04:00
|
|
|
mutation 'super()'
|
2014-06-02 08:57:14 -04:00
|
|
|
end
|
|
|
|
|
2016-03-19 11:13:05 -04:00
|
|
|
Mutant::Meta::Example.add :super do
|
2014-06-02 08:57:14 -04:00
|
|
|
source 'super()'
|
|
|
|
|
2014-06-05 12:37:31 -04:00
|
|
|
singleton_mutations
|
2014-06-02 08:57:14 -04:00
|
|
|
end
|
|
|
|
|
2016-03-19 11:13:05 -04:00
|
|
|
Mutant::Meta::Example.add :super do
|
2014-06-02 08:57:14 -04:00
|
|
|
source 'super(foo, bar)'
|
|
|
|
|
2014-06-05 12:37:31 -04:00
|
|
|
singleton_mutations
|
2014-06-02 08:57:14 -04:00
|
|
|
mutation 'super()'
|
|
|
|
mutation 'super(foo)'
|
|
|
|
mutation 'super(bar)'
|
|
|
|
mutation 'super(foo, nil)'
|
2014-06-05 12:37:31 -04:00
|
|
|
mutation 'super(foo, self)'
|
2014-06-02 08:57:14 -04:00
|
|
|
mutation 'super(nil, bar)'
|
2014-06-05 12:37:31 -04:00
|
|
|
mutation 'super(self, bar)'
|
2014-06-02 08:57:14 -04:00
|
|
|
end
|