Class: YARD::CodeObjects::Base
- Inherits:
-
Object
- Object
- YARD::CodeObjects::Base
- Defined in:
- lib/yard-js/core_ext/yard/code_objects.rb
Instance Method Summary collapse
Instance Method Details
#old_relative_path ⇒ Object
6 |
# File 'lib/yard-js/core_ext/yard/code_objects.rb', line 6 alias old_relative_path relative_path |
#relative_path(other) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/yard-js/core_ext/yard/code_objects.rb', line 7 def relative_path(other) if other.is_a?(NamespaceObject) other.path else old_relative_path(other) end end |