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
3mix-castronaut-0.5.0.2 vendor/activesupport/lib/active_support/core_ext/base64/encoding.rb
masover-castronaut-0.4.4.4 vendor/activesupport/lib/active_support/core_ext/base64/encoding.rb
masover-castronaut-0.4.4.5 vendor/activesupport/lib/active_support/core_ext/base64/encoding.rb
masover-castronaut-0.5.0.1 vendor/activesupport/lib/active_support/core_ext/base64/encoding.rb
relevance-castronaut-0.4.1 vendor/activesupport/lib/active_support/core_ext/base64/encoding.rb
relevance-castronaut-0.4.2 vendor/activesupport/lib/active_support/core_ext/base64/encoding.rb
relevance-castronaut-0.4.3 vendor/activesupport/lib/active_support/core_ext/base64/encoding.rb
relevance-castronaut-0.4.4 vendor/activesupport/lib/active_support/core_ext/base64/encoding.rb
relevance-castronaut-0.4.5 vendor/activesupport/lib/active_support/core_ext/base64/encoding.rb
relevance-castronaut-0.4.6 vendor/activesupport/lib/active_support/core_ext/base64/encoding.rb
relevance-castronaut-0.5.0 vendor/activesupport/lib/active_support/core_ext/base64/encoding.rb
relevance-castronaut-0.5.1 vendor/activesupport/lib/active_support/core_ext/base64/encoding.rb
relevance-castronaut-0.5.2 vendor/activesupport/lib/active_support/core_ext/base64/encoding.rb
relevance-castronaut-0.5.3 vendor/activesupport/lib/active_support/core_ext/base64/encoding.rb
relevance-castronaut-0.5.4 vendor/activesupport/lib/active_support/core_ext/base64/encoding.rb
radiant-0.7.2 vendor/rails/activesupport/lib/active_support/core_ext/base64/encoding.rb
vibes-bj-1.2.2 spec/rails_root/vendor/rails/activesupport/lib/active_support/core_ext/base64/encoding.rb
vibes-bj-1.2.1 spec/rails_root/vendor/rails/activesupport/lib/active_support/core_ext/base64/encoding.rb
activesupport-2.1.0 lib/active_support/core_ext/base64/encoding.rb
activesupport-2.1.2 lib/active_support/core_ext/base64/encoding.rb