class Attrocity::Coercers::Boolean

Public Instance Methods

coerce(value) click to toggle source
# File lib/attrocity/coercers/boolean.rb, line 5
def coerce(value)
  true & value
end