Module: Reek::Source::SexpExtensions::KwrestargNode

Includes:
ArgNodeBase
Defined in:
lib/reek/source/sexp_extensions.rb

Overview

Utility methods for :kwrestarg nodes.

Instance Method Summary collapse

Methods included from ArgNodeBase

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

Instance Method Details

#anonymous_splat?Boolean


85
86
87
# File 'lib/reek/source/sexp_extensions.rb', line 85

def anonymous_splat?
  !name
end