Sha256: d70c707e8205005b1fdd8170bdedc4bdd4b01e0423fe2972543ebd77da48ac65

Contents?: true

Size: 188 Bytes

Versions: 4

Compression:

Stored size: 188 Bytes

Contents

require "datagrid/utils"
# @!visibility private
class Datagrid::Filters::BooleanFilter < Datagrid::Filters::BaseFilter

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

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
datagrid-1.8.2 lib/datagrid/filters/boolean_filter.rb
datagrid-1.8.1 lib/datagrid/filters/boolean_filter.rb
datagrid-1.8.0 lib/datagrid/filters/boolean_filter.rb
datagrid-1.7.0 lib/datagrid/filters/boolean_filter.rb