module Reek::AST::SexpExtensions::ArgNodeBase
Base module for utility methods for argument nodes.
Public Instance Methods
Source
# File lib/reek/ast/sexp_extensions/arguments.rb, line 28 def anonymous_splat? false end
Source
# File lib/reek/ast/sexp_extensions/arguments.rb, line 32 def components [self] end
Source
# File lib/reek/ast/sexp_extensions/arguments.rb, line 12 def marked_unused? plain_name.start_with?('_') end
Source
# File lib/reek/ast/sexp_extensions/arguments.rb, line 24 def optional_argument? false end
Source
# File lib/reek/ast/sexp_extensions/arguments.rb, line 16 def plain_name name.to_s end