Class: Module
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/yard/core_ext/module.rb |
Instance Method Summary
-
#class_name ⇒ String
Returns the class name of a full module namespace path.
Instance Method Details
#class_name ⇒ String
Returns the class name of a full module namespace path
# File 'lib/yard/core_ext/module.rb', line 8
def class_name name.split("::").last end