Class: Attrocity::Coercers::Boolean
- Inherits:
-
Object
- Object
- Attrocity::Coercers::Boolean
- Defined in:
- lib/attrocity/coercers/boolean.rb
Instance Method Summary collapse
Instance Method Details
#coerce(value) ⇒ Object
5 6 7 |
# File 'lib/attrocity/coercers/boolean.rb', line 5 def coerce(value) true & value end |