method
validate!
v2_6_3 -
Show latest stable
- Class:
Bundler::Thor::Option
validate!()protected
No documentation available.
# File lib/bundler/vendor/thor/lib/thor/parser/option.rb, line 112
def validate!
raise ArgumentError, "An option cannot be boolean and required." if boolean? && required?
validate_default_type! if @check_default_type
end