Sha256: 69c160bd6acdf0d926d55f29d5ddc403a7bfc671e7a170ab3668fc0a47158a87

Contents?: true

Size: 159 Bytes

Versions: 13

Compression:

Stored size: 159 Bytes

Contents

require 'optparse/shellwords'
parser = OptionParser.new
parser.on('--shellwords=SHELLWORDS', Shellwords) do |value|
  p [value, value.class]
end
parser.parse!

Version data entries

13 entries across 13 versions & 3 rubygems

Version Path
optparse-0.6.0 doc/optparse/ruby/shellwords.rb
optparse-0.5.0 doc/optparse/ruby/shellwords.rb
cli-option_parser.rb-0.6.0 doc/optparse/ruby/shellwords.rb
cli-option_parser.rb-0.5.3 doc/optparse/ruby/shellwords.rb
cli-option_parser.rb-0.5.2 doc/optparse/ruby/shellwords.rb
cmd-optparse.rb-0.5.2 doc/optparse/ruby/shellwords.rb
cmd-optparse.rb-0.5.0 doc/optparse/ruby/shellwords.rb
cmd-optparse.rb-0.1.1 doc/optparse/ruby/shellwords.rb
cmd-optparse.rb-0.1.0 doc/optparse/ruby/shellwords.rb
optparse-0.4.0 doc/optparse/ruby/shellwords.rb
optparse-0.3.1 doc/optparse/ruby/shellwords.rb
optparse-0.3.0 doc/optparse/ruby/shellwords.rb
optparse-0.2.0 doc/optparse/ruby/shellwords.rb