Module: Reek::AST::SexpExtensions::RestargNode Private
- Includes:
- ArgNodeBase
- Defined in:
- lib/reek/ast/sexp_extensions.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Utility methods for :restarg nodes.
Instance Method Summary collapse
- #anonymous_splat? ⇒ Boolean private
Methods included from ArgNodeBase
#==, #block?, #components, #marked_unused?, #name, #optional_argument?, #plain_name
Instance Method Details
#anonymous_splat? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
86 87 88 |
# File 'lib/reek/ast/sexp_extensions.rb', line 86 def anonymous_splat? !name end |