class Optimist::StringOption

Option class for handling Strings.

Public Instance Methods

parse(paramlist, _neg_given) click to toggle source
# File lib/optimist.rb, line 828
def parse(paramlist, _neg_given)
  paramlist.map { |pg| pg.map(&:to_s) }
end
type_format() click to toggle source
# File lib/optimist.rb, line 827
def type_format ; "=<s>" ; end