Module: Acclaim::Option::Type::URI

Defined in:
lib/acclaim/option/type/uri.rb

Overview

Handles URIs given as arguments in the command line.

Class Method Summary collapse

Class Method Details

.handle(str) ⇒ Object

Parses an URI from the string.



12
13
14
# File 'lib/acclaim/option/type/uri.rb', line 12

def self.handle(str)
  ::URI.parse str
end