Sha256: 3e69171f098b6d60e73193ee85a6f19f7e0a31ddb4e49c3e3608b849c95bbfc7
Contents?: true
Size: 460 Bytes
Versions: 27
Compression:
Stored size: 460 Bytes
Contents
# a stupid hack class to get rid of all of the warnings but # still make the encode/decode methods available # 1.8.2 has a Base64 class, but 1.8.1 just imports the methods directly # into Object require 'base64' unless defined? Base64 class Base64 def Base64.encode64(*args) Object.method(:encode64).call(*args) end def Base64.decode64(*args) Object.method(:decode64).call(*args) end end end
Version data entries
27 entries across 27 versions & 1 rubygems