lib/bhm/validation.rb
# Concise API for setting both case assertion & key conformity simultaneously
Concise API for setting both case assertion & key conformity simultaneously
Concise API for setting both case assertion & key conformity simultaneously
def keys(arg)
          key_option = arg.is_a?(String) ? :strings : :symbols
          config(
            default_key_type: key_option,
            default_key_case: arg.to_sym
          )
        end
def keys ( arg ) key_option = arg . is_a? ( String ) ? :strings : :symbols config ( default_key_type : key_option , default_key_case : arg . to_sym ) end
Concise API for setting both case assertion & key conformity simultaneously
Concise API for setting both case assertion & key conformity simultaneously
arg
<not_specific>