2014-06-02 08:57:14 -04:00
|
|
|
# encoding: utf-8
|
|
|
|
|
|
|
|
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
|