Module: Reek::AST::SexpExtensions::SymNode
- Defined in:
- lib/reek/ast/sexp_extensions/symbols.rb
Overview
Utility methods for :sym nodes.
Instance Method Summary collapse
Instance Method Details
#full_name(outer) ⇒ Object
12 13 14 |
# File 'lib/reek/ast/sexp_extensions/symbols.rb', line 12 def full_name(outer) "#{outer}##{name}" end |
#name ⇒ Object
8 9 10 |
# File 'lib/reek/ast/sexp_extensions/symbols.rb', line 8 def name children.first end |