SILENT KILLERPanel

Current Path: > > opt > > alt > ruby31 > share > ruby > optparse


Operation   : Linux premium131.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
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt//alt/ruby31/share/ruby/optparse

NameTypeSizeLast ModifiedActions
ac.rb File 1550 bytes April 28 2025 17:36:08.
date.rb File 356 bytes April 28 2025 17:36:08.
kwargs.rb File 534 bytes April 28 2025 17:36:08.
shellwords.rb File 152 bytes April 28 2025 17:36:08.
time.rb File 219 bytes April 28 2025 17:36:08.
uri.rb File 131 bytes April 28 2025 17:36:08.
version.rb File 2061 bytes April 28 2025 17:36:08.

Reading File: //opt//alt/ruby31/share/ruby/optparse/kwargs.rb

# frozen_string_literal: true
require 'optparse'

class OptionParser
  # :call-seq:
  #   define_by_keywords(options, method, **params)
  #
  # :include: ../../doc/optparse/creates_option.rdoc
  #
  def define_by_keywords(options, meth, **opts)
    meth.parameters.each do |type, name|
      case type
      when :key, :keyreq
        op, cl = *(type == :key ? %w"[ ]" : ["", ""])
        define("--#{name}=#{op}#{name.upcase}#{cl}", *opts[name]) do |o|
          options[name] = o
        end
      end
    end
    options
  end
end

SILENT KILLER Tool