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

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

Overview

Handles symbols given as arguments in the command line.

Class Method Summary collapse

Class Method Details

.handle(str) ⇒ Object

Simply returns str.to_sym.



11
12
13
# File 'lib/acclaim/option/type/symbol.rb', line 11

def self.handle(str)
  str.to_sym
end