Method: Thor::Base::ClassMethods#check_default_type!
- Defined in:
- lib/thor/base/class_methods.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 is disabled by default for compatibility.
| 84 85 86 | # File 'lib/thor/base/class_methods.rb', line 84 def check_default_type! @check_default_type = true end |