Method: Module#class_name
- Defined in:
- lib/yard/core_ext/module.rb
permalink #class_name ⇒ String
Returns the class name of a full module namespace path
7 8 9 |
# File 'lib/yard/core_ext/module.rb', line 7 def class_name name.split("::").last end |