Module: Redress::Types
- Defined in:
- lib/redress/types.rb
Constant Summary collapse
- StrippedString =
Coercible::String.constructor do |value| value.to_s.strip.empty? ? nil : value.to_s.strip end
Coercible::String.constructor do |value| value.to_s.strip.empty? ? nil : value.to_s.strip end