Sha256: 0885101683757f6a77420f8fda20077b5b8c607df252bdacccac02f085022391

Contents?: true

Size: 165 Bytes

Versions: 6

Compression:

Stored size: 165 Bytes

Contents

require "datagrid/utils"
class Datagrid::Filters::BooleanFilter < Datagrid::Filters::BaseFilter

  def parse(value)
    Datagrid::Utils.booleanize(value)
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
datagrid-1.0.0 lib/datagrid/filters/boolean_filter.rb
datagrid-0.9.3 lib/datagrid/filters/boolean_filter.rb
datagrid-0.9.2 lib/datagrid/filters/boolean_filter.rb
datagrid-0.9.0 lib/datagrid/filters/boolean_filter.rb
datagrid-0.8.4 lib/datagrid/filters/boolean_filter.rb
datagrid-0.8.3 lib/datagrid/filters/boolean_filter.rb