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



69
70
71
# File 'app/values/blacklight/types.rb', line 69

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