Module: Reek::AST::SexpExtensions::KwoptargNode

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

Overview

Utility methods for :kwoptarg nodes.

Instance Method Summary collapse

Methods included from ArgNodeBase

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

Instance Method Details

#optional_argument?Boolean

Returns:

  • (Boolean)


60
61
62
# File 'lib/reek/ast/sexp_extensions/arguments.rb', line 60

def optional_argument?
  true
end