Class: Katalyst::Tables::Collection::Type::Integer

Inherits:
Value
  • Object
show all
Includes:
Helpers::Delegate, Helpers::Multiple, Helpers::Range
Defined in:
lib/katalyst/tables/collection/type/integer.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

#initializeInteger

Returns a new instance of Integer.



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

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