Method: Bundler::Thor::Base::ClassMethods#check_default_type!

Defined in:
lib/bundler/vendor/thor/lib/thor/base.rb

#check_default_type!Object

If you want to raise an error when the default value of an option does not match the type call check_default_type! This will be the default; for compatibility a deprecation warning is issued if necessary.


183
184
185
# File 'lib/bundler/vendor/thor/lib/thor/base.rb', line 183

def check_default_type!
  @check_default_type = true
end