Class: YARDGo::CodeObjects::PackageObject
- Inherits:
-
YARD::CodeObjects::NamespaceObject
- Object
- YARD::CodeObjects::NamespaceObject
- YARDGo::CodeObjects::PackageObject
- Defined in:
- lib/yard-go/code_objects.rb
Instance Method Summary collapse
- #full_path ⇒ Object
- #inheritance_tree(*args) ⇒ Object
- #sep ⇒ Object
- #source_type ⇒ Object
- #title ⇒ Object
- #type ⇒ Object
Instance Method Details
#full_path ⇒ Object
9 10 11 |
# File 'lib/yard-go/code_objects.rb', line 9 def full_path File.join(parent.full_path, name.to_s) end |
#inheritance_tree(*args) ⇒ Object
13 |
# File 'lib/yard-go/code_objects.rb', line 13 def inheritance_tree(*args) [self] end |
#sep ⇒ Object
4 |
# File 'lib/yard-go/code_objects.rb', line 4 def sep; '/' end |
#source_type ⇒ Object
6 |
# File 'lib/yard-go/code_objects.rb', line 6 def source_type; :go end |
#title ⇒ Object
7 |
# File 'lib/yard-go/code_objects.rb', line 7 def title; name.to_s end |
#type ⇒ Object
5 |
# File 'lib/yard-go/code_objects.rb', line 5 def type; :package end |