2016-03-19 15:13:05 +00:00
|
|
|
Mutant::Meta::Example.add :restarg do
|
2014-06-02 12:57:14 +00:00
|
|
|
source 'foo(*bar)'
|
|
|
|
|
2014-06-05 16:37:31 +00:00
|
|
|
singleton_mutations
|
2014-06-02 12:57:14 +00:00
|
|
|
mutation 'foo'
|
|
|
|
mutation 'foo(nil)'
|
2014-06-05 16:37:31 +00:00
|
|
|
mutation 'foo(self)'
|
|
|
|
mutation 'foo(*self)'
|
2014-06-02 12:57:14 +00:00
|
|
|
mutation 'foo(bar)'
|
|
|
|
mutation 'foo(*nil)'
|
|
|
|
end
|