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

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

Overview

Handles URIs given as arguments in the command line.

Author:

  • Matheus Afonso Martins Moreira

Since:

  • 0.0.4

Class Method Summary collapse

Class Method Details

.handle(str) ⇒ Object

Parses an URI from the string.

Since:

  • 0.0.4



14
15
16
# File 'lib/acclaim/option/type/uri.rb', line 14

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