Sha256: 42f695c5e297736cee51bbf1c7080b67d33cc62e96ee9692b6015032d0f71ea2
Contents?: true
Size: 215 Bytes
Versions: 13
Compression:
Stored size: 215 Bytes
Contents
require 'optparse/date' parser = OptionParser.new parser.accept(:capitalize, /\w*/) do |value| value.capitalize end parser.on('--capitalize XXX', :capitalize) do |value| p [value, value.class] end parser.parse!
Version data entries
13 entries across 13 versions & 3 rubygems