summaryrefslogtreecommitdiff
path: root/lib/rubygems/vendor/optparse/lib/optparse/shellwords.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2024-01-29 15:29:23 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2024-01-30 14:03:52 +0900
commit898090ada1bc68987319051d86a3f60c0935308b (patch)
tree442fab33f11d61eb22245ceef3cb61f7cebf38b2 /lib/rubygems/vendor/optparse/lib/optparse/shellwords.rb
parent5a0302d222d74328a16339aa997392fe0cf38fea (diff)
Move optparse under the vendor directory
Diffstat (limited to 'lib/rubygems/vendor/optparse/lib/optparse/shellwords.rb')
-rw-r--r--lib/rubygems/vendor/optparse/lib/optparse/shellwords.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/rubygems/vendor/optparse/lib/optparse/shellwords.rb b/lib/rubygems/vendor/optparse/lib/optparse/shellwords.rb
new file mode 100644
index 0000000000..d47ad60255
--- /dev/null
+++ b/lib/rubygems/vendor/optparse/lib/optparse/shellwords.rb
@@ -0,0 +1,7 @@
+# frozen_string_literal: false
+# -*- ruby -*-
+
+require 'shellwords'
+require_relative '../optparse'
+
+Gem::OptionParser.accept(Shellwords) {|s,| Shellwords.shellwords(s)}