2016-03-19 11:13:05 -04:00
|
|
|
Mutant::Meta::Example.add :ivasgn do
|
2014-06-02 10:22:57 -04:00
|
|
|
source '@a = true'
|
|
|
|
|
2014-06-05 12:37:31 -04:00
|
|
|
singleton_mutations
|
2014-06-02 10:22:57 -04:00
|
|
|
mutation '@a__mutant__ = true'
|
|
|
|
mutation '@a = false'
|
|
|
|
mutation '@a = nil'
|
|
|
|
end
|
2016-03-06 16:19:32 -05:00
|
|
|
|
|
|
|
Mutant::Meta::Example.add :ivasgn do
|
|
|
|
source '@a &&= 1'
|
|
|
|
|
|
|
|
singleton_mutations
|
|
|
|
|
|
|
|
mutation '@a__mutant__ &&= 1'
|
|
|
|
mutation '@a &&= nil'
|
|
|
|
mutation '@a &&= 0'
|
|
|
|
mutation '@a &&= -1'
|
|
|
|
mutation '@a &&= 2'
|
|
|
|
mutation '@a &&= self'
|
|
|
|
end
|