1ddcac2504
- Mutates `def foo(*args); end` into `def foo(*args); args = []; end` - Closes #181
15 lines
268 B
Ruby
15 lines
268 B
Ruby
module Mutant
|
|
module AST
|
|
# Node meta information mixin
|
|
module Meta
|
|
|
|
# Metadata for restarg nodes
|
|
class Restarg
|
|
include NamedChildren, Concord.new(:node)
|
|
|
|
children :name
|
|
end # Restarg
|
|
|
|
end # Meta
|
|
end # AST
|
|
end # Mutant
|