2014-06-02 08:57:14 -04:00
|
|
|
Mutant::Meta::Example.add do
|
|
|
|
source 'a ||= 1'
|
|
|
|
|
2014-06-05 12:37:31 -04:00
|
|
|
singleton_mutations
|
2014-06-02 08:57:14 -04:00
|
|
|
mutation 'a__mutant__ ||= 1'
|
|
|
|
mutation 'a ||= nil'
|
2014-06-05 12:37:31 -04:00
|
|
|
mutation 'a ||= self'
|
2014-06-02 08:57:14 -04:00
|
|
|
mutation 'a ||= 0'
|
|
|
|
mutation 'a ||= -1'
|
|
|
|
mutation 'a ||= 2'
|
|
|
|
end
|
2014-06-04 12:09:24 -04:00
|
|
|
|
|
|
|
Mutant::Meta::Example.add do
|
|
|
|
source '@a ||= 1'
|
|
|
|
|
2014-06-05 12:37:31 -04:00
|
|
|
singleton_mutations
|
2014-06-04 12:09:24 -04:00
|
|
|
mutation '@a ||= nil'
|
2014-06-05 12:37:31 -04:00
|
|
|
mutation '@a ||= self'
|
2014-06-04 12:09:24 -04:00
|
|
|
mutation '@a ||= 0'
|
|
|
|
mutation '@a ||= -1'
|
|
|
|
mutation '@a ||= 2'
|
|
|
|
end
|
2014-06-29 17:25:17 -04:00
|
|
|
|
|
|
|
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
|