Module: Tracksperanto::ConstName

Included in:
Export::Base, Import::Base, Tool::Base
Defined in:
lib/tracksperanto/const_name.rb

Overview

Provides const_name that returns the name of the class or module (or the name of the class an instance belongs to) without it’s parent namespace. Useful for building module tables

Defined Under Namespace

Modules: C

Instance Method Summary collapse

Instance Method Details

#const_nameObject



10
11
12
# File 'lib/tracksperanto/const_name.rb', line 10

def const_name
  self.class.const_name
end