Module: Reek::AST::SexpExtensions::ClassNode

Includes:
ModuleNodeBase
Defined in:
lib/reek/ast/sexp_extensions/module.rb

Overview

Utility methods for class definition (:class) nodes.

Instance Method Summary collapse

Methods included from ModuleNodeBase

#direct_children, #name

Methods included from ConstantDefiningNodeBase

#full_name, #simple_name

Instance Method Details

#superclassObject



96
# File 'lib/reek/ast/sexp_extensions/module.rb', line 96

def superclass() children[1] end