Module: Katalyst::Tables::Collection::Type::Helpers::Delegate

Included in:
Boolean, Float, Integer
Defined in:
lib/katalyst/tables/collection/type/helpers/delegate.rb

Overview

Lifts a delegating type from value to arrays of values

Instance Method Summary collapse

Instance Method Details

#initialize(delegate:, **arguments) ⇒ Object



14
15
16
17
18
# File 'lib/katalyst/tables/collection/type/helpers/delegate.rb', line 14

def initialize(delegate:, **arguments)
  super(**arguments)

  @delegate = delegate.new(**arguments.except(:filter, :multiple, :scope))
end