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.



38
39
40
# File 'lib/sequel/plugins/string_stripper.rb', line 38

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)


43
44
45
# File 'lib/sequel/plugins/string_stripper.rb', line 43

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