Module: Acclaim::Option::Type::String

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

Overview

Handles strings 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

Simply returns str.to_s.

Since:

  • 0.0.4



13
14
15
# File 'lib/acclaim/option/type/string.rb', line 13

def self.handle(str)
  str.to_s
end