Module: Reek::AST::SexpExtensions::ConstNode Private

Defined in:
lib/reek/ast/sexp_extensions.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Utility methods for :const nodes.

Instance Method Summary collapse

Instance Method Details

#simple_nameObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



325
326
327
# File 'lib/reek/ast/sexp_extensions.rb', line 325

def simple_name
  children.last
end