Module: Reek::Source::SexpExtensions::ConstNode

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

Overview

Utility methods for :const nodes.

Instance Method Summary collapse

Instance Method Details

#simple_nameObject


272
273
274
# File 'lib/reek/source/sexp_extensions.rb', line 272

def simple_name
  children.last
end