Module: Sequel::Plugins::StringStripper::ClassMethods

Defined in:
lib/sequel/plugins/string_stripper.rb

Instance Method Summary collapse

Instance Method Details

#skip_string_stripping(*columns) ⇒ Object

Skip stripping for the given columns.



36
37
38
# File 'lib/sequel/plugins/string_stripper.rb', line 36

def skip_string_stripping(*columns)
  skip_input_transformer(:string_stripper, *columns)
end

#skip_string_stripping?(column) ⇒ Boolean

Return true if the column should not have values stripped.

Returns:

  • (Boolean)


41
42
43
# File 'lib/sequel/plugins/string_stripper.rb', line 41

def skip_string_stripping?(column)
  skip_input_transformer?(:string_stripper, column)
end