module Reek::AST::SexpExtensions::DefsNode
Utility methods for :defs nodes.
Public Instance Methods
Source
# File lib/reek/ast/sexp_extensions/methods.rb, line 77 def argslist children[2] end
Source
# File lib/reek/ast/sexp_extensions/methods.rb, line 90 def depends_on_instance? false end
Source
# File lib/reek/ast/sexp_extensions/methods.rb, line 85 def full_name(outer) prefix = outer == '' ? '' : "#{outer}#" "#{prefix}#{receiver.name}.#{name}" end
Source
# File lib/reek/ast/sexp_extensions/methods.rb, line 69 def receiver children.first end