class QB::Options::Option::OptionParserConcern::TypeAcceptable
Public Class Methods
name()
click to toggle source
# File lib/qb/options/option/option_parser_concern.rb, line 43 def self.name if self == TypeAcceptable "TypeAcceptable" else "TypeAcceptable<#{ type }>" end end
parse(string)
click to toggle source
# File lib/qb/options/option/option_parser_concern.rb, line 58 def self.parse string type.from_s string end
type()
click to toggle source
# File lib/qb/options/option/option_parser_concern.rb, line 54 def self.type @type end