Sha256: a2aa38698267975e7a04ce780b4a81ffafc1450b8ffcda91af872a4c7d35758d
Contents?: true
Size: 145 Bytes
Versions: 8
Compression:
Stored size: 145 Bytes
Contents
class Datagrid::Filters::FloatFilter < Datagrid::Filters::BaseFilter def format(value) return nil if value.blank? value.to_f end end
Version data entries
8 entries across 8 versions & 1 rubygems