# File lib/mercenary/option.rb, line 13 def initialize(config_key, info) @config_key = config_key while arg = info.shift begin @return_type = Object.const_get("#{arg}") next rescue NameError end if arg.start_with?("-") if arg.start_with?("--") @long = arg else @short = arg end next end @description = arg end end