ruby--ruby/lib/optparse/uri.rb

7 lines
99 B
Ruby

# -*- ruby -*-
require 'optparse'
require 'uri'
OptionParser.accept(URI) {|s| URI.parse(s) if s}