Class: YARD::CodeObjects::Rake::NamespaceObject

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

Constant Summary

PREFIX =
"!rake:"

Instance Method Summary collapse

Instance Method Details

#full_pathObject



12
# File 'lib/yard-rake.rb', line 12

def full_path; path.sub(/^#{PREFIX}/, '') end

#pathObject



11
# File 'lib/yard-rake.rb', line 11

def path; parent == Registry.root ? "#{PREFIX}#{name}" : super end

#sepObject



14
# File 'lib/yard-rake.rb', line 14

def sep; ':' end

#typeObject



13
# File 'lib/yard-rake.rb', line 13

def type; :rake_namespace end