Module: Reek::AST::SexpExtensions::KwrestargNode

Includes:
ArgNodeBase
Defined in:
lib/reek/ast/sexp_extensions/arguments.rb

Overview

Utility methods for :kwrestarg nodes.

Instance Method Summary collapse

Methods included from ArgNodeBase

#block?, #components, #marked_unused?, #name, #optional_argument?, #plain_name

Instance Method Details

#anonymous_splat?Boolean

Returns:

  • (Boolean)


87
88
89
# File 'lib/reek/ast/sexp_extensions/arguments.rb', line 87

def anonymous_splat?
  !name
end