class Slop::SymbolOption
Cast the option argument to a symbol.
Public Instance Methods
call(value)
click to toggle source
# File lib/slop/types.rb, line 11 def call(value) value.to_sym end
Cast the option argument to a symbol.
# File lib/slop/types.rb, line 11 def call(value) value.to_sym end