Class: Rake::Scope::EmptyScope

Inherits:
EmptyLinkedList
  • Object
show all
Defined in:
lib/rake/scope.rb

Overview

Scope lists always end with an EmptyScope object. See Null Object Pattern)

Instance Method Summary collapse

Instance Method Details

#pathObject



31
32
33
# File 'lib/rake/scope.rb', line 31

def path
  ""
end

#path_with_task_name(task_name) ⇒ Object



35
36
37
# File 'lib/rake/scope.rb', line 35

def path_with_task_name(task_name)
  task_name
end