Sha256: c4a5cf6436d8db1a0347955debd1307f1faa73914116ade6e1f3fcf551851cad

Contents?: true

Size: 134 Bytes

Versions: 18

Compression:

Stored size: 134 Bytes

Contents

class Datagrid::Filters::StringFilter < Datagrid::Filters::BaseFilter
  def format(value)
    value.nil? ? nil : value.to_s
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

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