Method: Thor::Base::ClassMethods#allow_incompatible_default_type!

Defined in:
lib/thor/base.rb

#allow_incompatible_default_type!Object

If you want to use defaults that don’t match the type of an option, either specify ‘check_default_type: false` or call `allow_incompatible_default_type!`

[View source]

189
190
191
# File 'lib/thor/base.rb', line 189

def allow_incompatible_default_type!
  @check_default_type = false
end