Sha256: 5fd03850e54fb113ea620b44bd4f66e5559f8154835982aa0e814b6feb724792

Contents?: true

Size: 220 Bytes

Versions: 15

Compression:

Stored size: 220 Bytes

Contents

class SiteHub
  module StringUtils
    class << self
      def split(header_value)
        header_value.to_s.split(COMMA)
      end

      def sanitise(string)
        string.to_s.chomp.strip
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
sitehub-0.5.0.alpha12 lib/sitehub/string_utils.rb
sitehub-0.4.10 lib/sitehub/string_utils.rb
sitehub-0.5.0.alpha11 lib/sitehub/string_utils.rb
sitehub-0.5.0.alpha10 lib/sitehub/string_utils.rb
sitehub-0.5.0.alpha8 lib/sitehub/string_utils.rb
sitehub-0.5.0.alpha7 lib/sitehub/string_utils.rb
sitehub-0.5.0.alpha6 lib/sitehub/string_utils.rb
sitehub-0.5.0.alpha5 lib/sitehub/string_utils.rb
sitehub-0.5.0.alpha4 lib/sitehub/string_utils.rb
sitehub-0.5.0.alpha3 lib/sitehub/string_utils.rb
sitehub-0.5.0.alpha2 lib/sitehub/string_utils.rb
sitehub-0.4.9 lib/sitehub/string_utils.rb
sitehub-0.4.8 lib/sitehub/string_utils.rb
sitehub-0.4.7 lib/sitehub/string_utils.rb
sitehub-0.4.6 lib/sitehub/string_utils.rb