Module: Reek::Source::SexpExtensions::KwoptargNode

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

Overview

Utility methods for :kwoptarg nodes.

Instance Method Summary collapse

Methods included from ArgNodeBase

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

Instance Method Details

#optional_argument?Boolean

Returns:

  • (Boolean)

61
62
63
# File 'lib/reek/source/sexp_extensions.rb', line 61

def optional_argument?
  true
end