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



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

def path
  ""
end

#path_with_task_name(task_name) ⇒ Object



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

def path_with_task_name(task_name)
  task_name
end