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

- (Object) full_path



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

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

- (Object) path



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

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

- (Object) sep



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

def sep; ':' end

- (Object) type



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

def type; :rake_namespace end