Support for the Ruby 2.1 series ended on March 31 2017. See here for details.
Rake::LinkedList
Singleton null object for an empty scope.
Path for the scope.
# File rake/scope.rb, line 5 def path map { |item| item.to_s }.reverse.join(":") end
Path for the scope + the named path.
# File rake/scope.rb, line 10 def path_with_task_name(task_name) "#{path}:#{task_name}" end
Trim n innermost scope levels from the scope. In no case will this trim beyond the toplevel scope.
n
# File rake/scope.rb, line 16 def trim(n) result = self while n > 0 && ! result.empty? result = result.tail n -= 1 end result end
This page was generated for Ruby 2.1.5
Ruby-doc.org is a service of James Britt and Neurogami, an erratic source of art, music, and technology.
Generated with Ruby-doc Rdoc Generator 0.44.0.