summaryrefslogtreecommitdiff
path: root/lib/optparse/uri.rb
blob: 51550cf91b150daea5cff8516e53b9428227494b (plain)
1
2
3
4
5
6
7
# frozen_string_literal: false
# -*- ruby -*-

require 'optparse'
require 'uri'

OptionParser.accept(URI) {|s,| URI.parse(s) if s}