X7ROOT File Manager
Current Path:
/opt/alt/ruby33/share/gems/gems/rake-13.1.0/lib/rake
opt
/
alt
/
ruby33
/
share
/
gems
/
gems
/
rake-13.1.0
/
lib
/
rake
/
??
..
??
application.rb
(25.54 KB)
??
backtrace.rb
(896 B)
??
clean.rb
(2.03 KB)
??
cloneable.rb
(448 B)
??
cpu_counter.rb
(2.33 KB)
??
default_loader.rb
(265 B)
??
dsl_definition.rb
(5.48 KB)
??
early_time.rb
(370 B)
??
ext
??
file_creation_task.rb
(699 B)
??
file_list.rb
(12.45 KB)
??
file_task.rb
(1.54 KB)
??
file_utils.rb
(3.76 KB)
??
file_utils_ext.rb
(3.84 KB)
??
invocation_chain.rb
(1.19 KB)
??
invocation_exception_mixin.rb
(461 B)
??
late_time.rb
(295 B)
??
linked_list.rb
(2.77 KB)
??
loaders
??
multi_task.rb
(345 B)
??
name_space.rb
(702 B)
??
packagetask.rb
(6.02 KB)
??
phony.rb
(381 B)
??
private_reader.rb
(394 B)
??
promise.rb
(2.28 KB)
??
pseudo_status.rb
(405 B)
??
rake_module.rb
(1.49 KB)
??
rake_test_loader.rb
(477 B)
??
rule_recursion_overflow_error.rb
(382 B)
??
scope.rb
(898 B)
??
task.rb
(12.74 KB)
??
task_argument_error.rb
(149 B)
??
task_arguments.rb
(2.41 KB)
??
task_manager.rb
(10.02 KB)
??
tasklib.rb
(165 B)
??
testtask.rb
(5.19 KB)
??
thread_history_display.rb
(1.13 KB)
??
thread_pool.rb
(4.67 KB)
??
trace_output.rb
(575 B)
??
version.rb
(208 B)
??
win32.rb
(1.52 KB)
Editing: name_space.rb
# frozen_string_literal: true ## # The NameSpace class will lookup task names in the scope defined by a # +namespace+ command. class Rake::NameSpace ## # Create a namespace lookup object using the given task manager # and the list of scopes. def initialize(task_manager, scope_list) @task_manager = task_manager @scope = scope_list.dup end ## # Lookup a task named +name+ in the namespace. def [](name) @task_manager.lookup(name, @scope) end ## # The scope of the namespace (a LinkedList) def scope @scope.dup end ## # Return the list of tasks defined in this and nested namespaces. def tasks @task_manager.tasks_in_scope(@scope) end end
Upload File
Create Folder