Module: Reek::Source::SexpExtensions::BlockargNode

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

Overview

Utility methods for :blockarg nodes.

Instance Method Summary collapse

Methods included from ArgNodeBase

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

Instance Method Details

#block?Boolean

Returns:

  • (Boolean)

69
70
71
# File 'lib/reek/source/sexp_extensions.rb', line 69

def block?
  true
end