module Striptease::InstanceMethods

Private Instance Methods

_strip_whitespace() click to toggle source
# File lib/striptease.rb, line 20
def _strip_whitespace
  Array(self.class.strippable_attributes).each do |attribute|
    public_send "#{attribute}=", public_send(attribute).try(:strip)
  end
end