Server IP : 162.0.209.157 / Your IP : 52.14.66.242 [ Web Server : LiteSpeed System : Linux premium178.web-hosting.com 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64 User : balaoqob ( 2395) PHP Version : 8.0.30 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/ruby20/lib64/ruby/2.0.0/rake/ext/ |
Upload File : |
require 'rake/ext/core' require 'rake/task' require 'rake/file_task' require 'rake/file_creation_task' require 'rake/application' require 'rake/task_manager' ###################################################################### # Rake extensions to Module. # class Module # Rename the original handler to make it available. alias :rake_original_const_missing :const_missing # Check for deprecated uses of top level (i.e. in Object) uses of # Rake class names. If someone tries to reference the constant # name, display a warning and return the proper object. Using the # --classic-namespace command line option will define these # constants in Object and avoid this handler. def const_missing(const_name) case const_name when :Task Rake.application.const_warning(const_name) Rake::Task when :FileTask Rake.application.const_warning(const_name) Rake::FileTask when :FileCreationTask Rake.application.const_warning(const_name) Rake::FileCreationTask when :RakeApp Rake.application.const_warning(const_name) Rake::Application else rake_original_const_missing(const_name) end end end unless defined? Rake::REDUCE_COMPAT