Class: Commons::Lang::ClassUtils
- Inherits:
-
Object
- Object
- Commons::Lang::ClassUtils
- Defined in:
- lib/commons/lang/class_utils.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ ClassUtils
constructor
A new instance of ClassUtils.
Constructor Details
#initialize ⇒ ClassUtils
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 |