Module: ParamParam::Std
- Defined in:
- lib/param_param/std.rb
Overview
It defines some actions that can be useful in an everyday life.
Defined Under Namespace
Constant Summary collapse
- TRUE_VALUES =
Some string values that can be considered as
true
(thank you dry-rb for inspiration). %w[1 on On ON t true True TRUE T y yes Yes YES Y].freeze
- FALSE_VALUES =
Some string values that can be considered as
false
(thank you dry-rb for inspiration). %w[0 off Off OFF f false False FALSE F n no No NO N].freeze