GRAYBYTE WORDPRESS FILE MANAGER9621

Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /opt/alt/ruby19/lib64/ruby/1.9.1/rake/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /opt/alt/ruby19/lib64/ruby/1.9.1/rake//task_arguments.rb
module Rake

  ####################################################################
  # TaskArguments manage the arguments passed to a task.
  #
  class TaskArguments
    include Enumerable

    attr_reader :names

    # Create a TaskArgument object with a list of named arguments
    # (given by :names) and a set of associated values (given by
    # :values).  :parent is the parent argument object.
    def initialize(names, values, parent=nil)
      @names = names
      @parent = parent
      @hash = {}
      names.each_with_index { |name, i|
        @hash[name.to_sym] = values[i] unless values[i].nil?
      }
    end

    # Create a new argument scope using the prerequisite argument
    # names.
    def new_scope(names)
      values = names.collect { |n| self[n] }
      self.class.new(names, values, self)
    end

    # Find an argument value by name or index.
    def [](index)
      lookup(index.to_sym)
    end

    # Specify a hash of default values for task arguments. Use the
    # defaults only if there is no specific value for the given
    # argument.
    def with_defaults(defaults)
      @hash = defaults.merge(@hash)
    end

    def each(&block)
      @hash.each(&block)
    end

    def values_at(*keys)
      keys.map { |k| lookup(k) }
    end

    def method_missing(sym, *args, &block)
      lookup(sym.to_sym)
    end

    def to_hash
      @hash
    end

    def to_s
      @hash.inspect
    end

    def inspect
      to_s
    end

    protected

    def lookup(name)
      if @hash.has_key?(name)
        @hash[name]
      elsif @parent
        @parent.lookup(name)
      end
    end
  end

  EMPTY_TASK_ARGS = TaskArguments.new([], [])
end

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
March 03 2024 22:50:37
root / root
0755
contrib
--
March 03 2024 22:50:37
root / linksafe
0755
ext
--
March 03 2024 22:50:37
root / linksafe
0755
lib
--
March 03 2024 22:50:37
root / linksafe
0755
loaders
--
March 03 2024 22:50:37
root / linksafe
0755
alt_system.rb
3.137 KB
June 23 2011 22:11:55
root / linksafe
0644
application.rb
17.45 KB
September 15 2011 15:35:58
root / linksafe
0644
classic_namespace.rb
0.398 KB
June 28 2011 02:45:29
root / linksafe
0644
clean.rb
0.992 KB
June 28 2011 02:45:29
root / linksafe
0644
cloneable.rb
0.649 KB
June 23 2011 22:11:55
root / linksafe
0644
default_loader.rb
0.16 KB
June 23 2011 22:11:55
root / linksafe
0644
dsl_definition.rb
4.669 KB
September 15 2011 15:35:58
root / linksafe
0644
early_time.rb
0.267 KB
June 23 2011 22:11:55
root / linksafe
0644
file_creation_task.rb
0.654 KB
June 23 2011 22:11:55
root / linksafe
0644
file_list.rb
11.226 KB
February 14 2012 07:58:23
root / linksafe
0644
file_task.rb
1.283 KB
June 23 2011 22:11:55
root / linksafe
0644
file_utils.rb
2.991 KB
June 28 2011 02:45:29
root / linksafe
0644
file_utils_ext.rb
4.124 KB
June 28 2011 02:45:29
root / linksafe
0644
gempackagetask.rb
0.276 KB
June 28 2011 02:45:29
root / linksafe
0644
invocation_chain.rb
0.939 KB
June 23 2011 22:11:55
root / linksafe
0644
invocation_exception_mixin.rb
0.421 KB
June 23 2011 22:11:55
root / linksafe
0644
multi_task.rb
0.408 KB
June 23 2011 22:11:55
root / linksafe
0644
name_space.rb
0.604 KB
June 23 2011 22:11:55
root / linksafe
0644
packagetask.rb
5.069 KB
June 23 2011 22:11:55
root / linksafe
0644
pathmap.rb
0.025 KB
June 23 2011 22:11:55
root / linksafe
0644
pseudo_status.rb
0.412 KB
June 23 2011 22:11:55
root / linksafe
0644
rake_module.rb
0.52 KB
June 23 2011 22:11:55
root / linksafe
0644
rake_test_loader.rb
0.333 KB
June 28 2011 02:45:29
root / linksafe
0644
rdoctask.rb
6.55 KB
June 28 2011 02:45:29
root / linksafe
0644
ruby182_test_unit_fix.rb
0.823 KB
June 23 2011 22:11:55
root / linksafe
0644
rule_recursion_overflow_error.rb
0.345 KB
June 23 2011 22:11:55
root / linksafe
0644
runtest.rb
0.428 KB
June 23 2011 22:11:55
root / linksafe
0644
task.rb
9.467 KB
June 23 2011 22:11:55
root / linksafe
0644
task_argument_error.rb
0.116 KB
June 23 2011 22:11:55
root / linksafe
0644
task_arguments.rb
1.637 KB
June 28 2011 02:45:29
root / linksafe
0644
task_manager.rb
8.769 KB
June 23 2011 22:11:55
root / linksafe
0644
tasklib.rb
0.566 KB
June 23 2011 22:11:55
root / linksafe
0644
testtask.rb
4.883 KB
June 23 2011 22:11:55
root / linksafe
0644
version.rb
0.154 KB
September 15 2011 15:35:58
root / linksafe
0644
win32.rb
1.525 KB
June 23 2011 22:11:55
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF