Sha256: 1df16457933bf45613e383a9a3eec2ed4d1711ed2601c89bd660aae8210d8f37
Contents?: true
Size: 159 Bytes
Versions: 9
Compression:
Stored size: 159 Bytes
Contents
class Datagrid::Filters::BooleanFilter < Datagrid::Filters::BaseFilter def format(value) [true, 1, "1", "true", "yes", "on"].include?(value) end end
Version data entries
9 entries across 9 versions & 1 rubygems