Module: Acclaim::Option::Type::Symbol

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

Overview

Handles symbols given as arguments in the command line.

Author:

  • Matheus Afonso Martins Moreira

Since:

  • 0.0.6

Class Method Summary collapse

Class Method Details

.handle(str) ⇒ Object

Simply returns str.to_sym.

Since:

  • 0.0.6



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

def self.handle(str)
  str.to_sym
end