Sha256: a12bc936f3caa162cc3f11d3cf68bfb4b4e8fffcf6779783801b8eae1ff514f1

Contents?: true

Size: 177 Bytes

Versions: 12

Compression:

Stored size: 177 Bytes

Contents

class Datagrid::Filters::StringFilter < Datagrid::Filters::BaseFilter

  include Datagrid::Filters::RangedFilter

  def parse(value)
    value.nil? ? nil : value.to_s
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
datagrid-1.8.2 lib/datagrid/filters/string_filter.rb
datagrid-1.8.1 lib/datagrid/filters/string_filter.rb
datagrid-1.8.0 lib/datagrid/filters/string_filter.rb
datagrid-1.7.0 lib/datagrid/filters/string_filter.rb
datagrid-1.6.3 lib/datagrid/filters/string_filter.rb
datagrid-1.6.2 lib/datagrid/filters/string_filter.rb
datagrid-1.6.1 lib/datagrid/filters/string_filter.rb
datagrid-1.6.0 lib/datagrid/filters/string_filter.rb
datagrid-1.5.9 lib/datagrid/filters/string_filter.rb
datagrid-1.5.8 lib/datagrid/filters/string_filter.rb
datagrid-1.5.7 lib/datagrid/filters/string_filter.rb
datagrid-1.5.6 lib/datagrid/filters/string_filter.rb