Class: Katalyst::Tables::Collection::Type::Float

Inherits:
Value
  • Object
show all
Includes:
Helpers::Delegate, Helpers::Multiple, Helpers::Range
Defined in:
lib/katalyst/tables/collection/type/float.rb

Instance Attribute Summary

Attributes inherited from Value

#scope

Instance Method Summary collapse

Methods included from Helpers::Range

#cast, #deserialize, #serialize, #to_param

Methods included from Helpers::Multiple

#cast, #default_value, #deserialize, #multiple?, #serialize, #to_param, #value_for_multiple

Methods inherited from Value

#filter, #filter?, #filterable?, #suggestions, #to_param

Constructor Details

#initializeFloat

Returns a new instance of Float.



14
15
16
# File 'lib/katalyst/tables/collection/type/float.rb', line 14

def initialize(**)
  super(**, delegate: ActiveModel::Type::Float)
end