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, #initialize

Constructor Details

This class inherits a constructor from Blacklight::Types::Value

Instance Method Details

#cast(input) ⇒ Object



86
87
88
# File 'app/values/blacklight/types.rb', line 86

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