Module: Reek::AST::SexpExtensions::OptargNode
- Includes:
- ArgNodeBase
- Defined in:
- lib/reek/ast/sexp_extensions/arguments.rb
Overview
Utility methods for :optarg nodes.
Instance Method Summary collapse
Methods included from ArgNodeBase
#anonymous_splat?, #block?, #components, #marked_unused?, #name, #plain_name
Instance Method Details
#optional_argument? ⇒ Boolean
51 52 53 |
# File 'lib/reek/ast/sexp_extensions/arguments.rb', line 51 def optional_argument? true end |