Class: Blacklight::Types::Boolean

Inherits:
Value
  • Object
show all
Defined in:
app/values/blacklight/types.rb

Instance Method Summary collapse

Methods inherited from Value

coerce

Instance Method Details

#cast(input) ⇒ Object



82
83
84
# File 'app/values/blacklight/types.rb', line 82

def cast(input)
  ActiveModel::Type::Boolean.new.cast(super)
end