Methods

Class/Module Index [+]

Quicksearch

Sequel::Plugins::StringStripper::InstanceMethods

Public Instance Methods

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

Strip value if it is a string, before attempting to assign it to the model's values.

# File lib/sequel/plugins/string_stripper.rb, line 20
def []=(k, v)
  v.is_a?(String) ? super(k, v.strip) : super
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.