lib/active_support/base64.rb in activesupport-2.0.5 vs lib/active_support/base64.rb in activesupport-2.1.0

- old
+ new

@@ -1,4 +1,9 @@ +begin + require 'base64' +rescue LoadError +end + module ActiveSupport if defined? ::Base64 Base64 = ::Base64 else # Ruby 1.9 doesn't provide base64, so we wrap this here