Class: YARDGo::CodeObjects::PackageObject

Inherits:
YARD::CodeObjects::NamespaceObject
  • Object
show all
Defined in:
lib/yard-go/code_objects.rb

Instance Method Summary collapse

Instance Method Details

#full_pathObject



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

#sepObject



4
# File 'lib/yard-go/code_objects.rb', line 4

def sep; '/' end

#source_typeObject



6
# File 'lib/yard-go/code_objects.rb', line 6

def source_type; :go end

#titleObject



7
# File 'lib/yard-go/code_objects.rb', line 7

def title; name.to_s end

#typeObject



5
# File 'lib/yard-go/code_objects.rb', line 5

def type; :package end