Sha256: 44470d8375c30d2040036376e1133b45d6179b2126a312b0c0c176067b8ecd6a

Contents?: true

Size: 166 Bytes

Versions: 19

Compression:

Stored size: 166 Bytes

Contents

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

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

end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
datagrid-0.8.2 lib/datagrid/filters/boolean_filter.rb
datagrid-0.8.1 lib/datagrid/filters/boolean_filter.rb
datagrid-0.8.0 lib/datagrid/filters/boolean_filter.rb
datagrid-0.7.1 lib/datagrid/filters/boolean_filter.rb
datagrid-0.7.0 lib/datagrid/filters/boolean_filter.rb
datagrid-0.6.4 lib/datagrid/filters/boolean_filter.rb
datagrid-0.6.3 lib/datagrid/filters/boolean_filter.rb
datagrid-0.6.2 lib/datagrid/filters/boolean_filter.rb
datagrid-0.6.0 lib/datagrid/filters/boolean_filter.rb
datagrid-0.5.4 lib/datagrid/filters/boolean_filter.rb
datagrid-0.5.3 lib/datagrid/filters/boolean_filter.rb
datagrid-0.5.2 lib/datagrid/filters/boolean_filter.rb
datagrid-0.5.1 lib/datagrid/filters/boolean_filter.rb
datagrid-0.5.0 lib/datagrid/filters/boolean_filter.rb
datagrid-0.4.1 lib/datagrid/filters/boolean_filter.rb
datagrid-0.4.0 lib/datagrid/filters/boolean_filter.rb
datagrid-0.3.6 lib/datagrid/filters/boolean_filter.rb
datagrid-0.3.5 lib/datagrid/filters/boolean_filter.rb
datagrid-0.3.4 lib/datagrid/filters/boolean_filter.rb