Module: Reek::AST::SexpExtensions::RestargNode
- Includes:
- ArgNodeBase
- Defined in:
- lib/reek/ast/sexp_extensions/arguments.rb
Overview
Utility methods for :restarg nodes.
Instance Method Summary collapse
Methods included from ArgNodeBase
#block?, #components, #marked_unused?, #name, #optional_argument?, #plain_name
Instance Method Details
#anonymous_splat? ⇒ Boolean
78 79 80 |
# File 'lib/reek/ast/sexp_extensions/arguments.rb', line 78 def anonymous_splat? !name end |