15 lines
233 B
Ruby
15 lines
233 B
Ruby
Mutant::Meta::Example.add :const do
|
|
source 'A::B::C'
|
|
|
|
singleton_mutations
|
|
mutation 'B::C'
|
|
mutation 'C'
|
|
end
|
|
|
|
Mutant::Meta::Example.add :const do
|
|
source 'A.foo'
|
|
|
|
singleton_mutations
|
|
mutation 'A'
|
|
mutation 'self.foo'
|
|
end
|