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