$67 GRAYBYTE WORDPRESS FILE MANAGER $85

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/ruby34/share/ruby/optparse/

HOME
Current File : /opt/alt/ruby34/share/ruby/optparse//kwargs.rb
# frozen_string_literal: true
require_relative '../optparse'

class OptionParser
  # :call-seq:
  #   define_by_keywords(options, method, **params)
  #
  # :include: ../../doc/optparse/creates_option.rdoc
  #
  # Defines options which set in to _options_ for keyword parameters
  # of _method_.
  #
  # Parameters for each keywords are given as elements of _params_.
  #
  def define_by_keywords(options, method, **params)
    method.parameters.each do |type, name|
      case type
      when :key, :keyreq
        op, cl = *(type == :key ? %w"[ ]" : ["", ""])
        define("--#{name}=#{op}#{name.upcase}#{cl}", *params[name]) do |o|
          options[name] = o
        end
      end
    end
    options
  end
end


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
10 Feb 2026 9.34 AM
root / linksafe
0755
ac.rb
1.986 KB
27 Jan 2026 4.00 PM
root / linksafe
0644
date.rb
0.359 KB
27 Jan 2026 4.00 PM
root / linksafe
0644
kwargs.rb
0.699 KB
27 Jan 2026 4.00 PM
root / linksafe
0644
shellwords.rb
0.16 KB
27 Jan 2026 4.00 PM
root / linksafe
0644
time.rb
0.226 KB
27 Jan 2026 4.00 PM
root / linksafe
0644
uri.rb
0.14 KB
27 Jan 2026 4.00 PM
root / linksafe
0644
version.rb
2.139 KB
27 Jan 2026 4.00 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF