X7ROOT File Manager
Current Path:
/opt/alt/ruby32/share/gems/gems/rake-13.0.6/lib/rake
opt
/
alt
/
ruby32
/
share
/
gems
/
gems
/
rake-13.0.6
/
lib
/
rake
/
ðŸ“
..
📄
application.rb
(24.75 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.5 KB)
📄
file_utils.rb
(3.82 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.68 KB)
📄
trace_output.rb
(575 B)
📄
version.rb
(208 B)
📄
win32.rb
(1.52 KB)
Editing: win32.rb
# frozen_string_literal: true require "rbconfig" module Rake # Win 32 interface methods for Rake. Windows specific functionality # will be placed here to collect that knowledge in one spot. module Win32 # :nodoc: all # Error indicating a problem in locating the home directory on a # Win32 system. class Win32HomeError < RuntimeError end class << self # True if running on a windows system. def windows? RbConfig::CONFIG["host_os"] =~ %r!(msdos|mswin|djgpp|mingw|[Ww]indows)! end # The standard directory containing system wide rake files on # Win 32 systems. Try the following environment variables (in # order): # # * HOME # * HOMEDRIVE + HOMEPATH # * APPDATA # * USERPROFILE # # If the above are not defined, the return nil. def win32_system_dir #:nodoc: win32_shared_path = ENV["HOME"] if win32_shared_path.nil? && ENV["HOMEDRIVE"] && ENV["HOMEPATH"] win32_shared_path = ENV["HOMEDRIVE"] + ENV["HOMEPATH"] end win32_shared_path ||= ENV["APPDATA"] win32_shared_path ||= ENV["USERPROFILE"] raise Win32HomeError, "Unable to determine home path environment variable." if win32_shared_path.nil? or win32_shared_path.empty? normalize(File.join(win32_shared_path, "Rake")) end # Normalize a win32 path so that the slashes are all forward slashes. def normalize(path) path.gsub(/\\/, "/") end end end end
Upload File
Create Folder