Class: YARD::CodeObjects::AppendixObject
- Inherits:
-
Base
- Object
- Base
- YARD::CodeObjects::AppendixObject
- Defined in:
- lib/yard-appendix/code_objects/appendix_object.rb
Overview
An object that is spawned by the @!appendix directive.
Instance Method Summary collapse
Instance Method Details
#path ⇒ Object
34 |
# File 'lib/yard-appendix/code_objects/appendix_object.rb', line 34 def path; ".#{type}.#{namespace && namespace.path}.#{name}" end |
#title ⇒ Object
33 |
# File 'lib/yard-appendix/code_objects/appendix_object.rb', line 33 def title; "Appendix: #{name}" end |
#to_s ⇒ Object
35 |
# File 'lib/yard-appendix/code_objects/appendix_object.rb', line 35 def to_s; "#{name}-appendix" end |
#type ⇒ Object
32 |
# File 'lib/yard-appendix/code_objects/appendix_object.rb', line 32 def type; :appendix end |