module Sequel::Plugins::InputTransformer::InstanceMethods

  1. lib/sequel/plugins/input_transformer.rb

Methods

Public Instance

  1. []=

Public Instance methods

[]=(k, v)

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

[show source]
   # File lib/sequel/plugins/input_transformer.rb
80 def []=(k, v)
81   model.input_transformers.reverse_each do |name, transformer|
82     v = transformer.call(v) unless model.skip_input_transformer?(name, k)
83   end
84   super
85 end