Methods

Class/Module Index [+]

Quicksearch

Sequel::Plugins::InputTransformer::InstanceMethods

Public Instance Methods

[]=(k, v) click to toggle source

Transform the input using all of the transformers, except those explicitly skipped, before setting the value in the model object.

# File lib/sequel/plugins/input_transformer.rb, line 70
def []=(k, v)
  model.input_transformer_order.each do |transformer_name|
    v = model.input_transformers[transformer_name].call(v) unless model.skip_input_transformer?(transformer_name, k)
  end
  super
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.