Sha256: 7bbc9be9d966b0c66d87320d08134f9cd69d35cd0e78b3cd4c6cd7f18ac35b0b

Contents?: true

Size: 408 Bytes

Versions: 25

Compression:

Stored size: 408 Bytes

Contents

module ActiveSupport #:nodoc:
  module CoreExtensions #:nodoc:
    module Base64 #:nodoc:
      module Encoding
        # Encodes the value as base64 without the newline breaks. This makes the base64 encoding readily usable as URL parameters 
        # or memcache keys without further processing.
        def encode64s(value)
          encode64(value).gsub(/\n/, '')
        end
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 7 rubygems

Version Path
activesupport-2.1.1 lib/active_support/core_ext/base64/encoding.rb
antfarm-0.3.0 rails/vendor/rails/activesupport/lib/active_support/core_ext/base64/encoding.rb
antfarm-0.4.0 rails/vendor/rails/activesupport/lib/active_support/core_ext/base64/encoding.rb
radiant-0.7.0 vendor/rails/activesupport/lib/active_support/core_ext/base64/encoding.rb
radiant-0.7.1 vendor/rails/activesupport/lib/active_support/core_ext/base64/encoding.rb