Class: BBLib::OptsParser::Bool

Inherits:
BasicOption show all
Defined in:
lib/bblib/cli/options/bool.rb

Constant Summary collapse

TRUE_STATEMENTS =
%w{true yes y t 1}
FALSE_STATEMENTS =
%w{false no n f 0}

Method Summary

Methods inherited from BasicOption

#extract

Methods inherited from Option

#flag_match?, #multi_value?, #retrieve, #split, #to_s, types, #valid!, #valid?

Methods included from TypeInit

included

Methods included from Effortless

#_attrs, included