Module: Acclaim::Option::Type::Pathname

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

Overview

Handles URIs given as arguments in the command line.

Author:

  • Matheus Afonso Martins Moreira

Since:

  • 0.3.1

Class Method Summary collapse

Class Method Details

.handle(str) ⇒ Object

Parses an URI from the string.

Since:

  • 0.3.1



15
16
17
# File 'lib/acclaim/option/type/pathname.rb', line 15

def self.handle(str)
  ::Pathname.new str
end