Class: Commons::Lang::ClassUtils

Inherits:
Object
  • Object
show all
Defined in:
lib/commons/lang/class_utils.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeClassUtils

Returns a new instance of ClassUtils.



38
39
40
# File 'lib/commons/lang/class_utils.rb', line 38

def initialize
  super()
end

Class Method Details

.get_short_class_name(klass) ⇒ Object



43
44
45
# File 'lib/commons/lang/class_utils.rb', line 43

def self.get_short_class_name(klass)
  return klass.name.split(/::/).last
end