Sha256: 2401832c73c961b6c21f48041c72d4ddae4994a3db85a759bafecabad63135b6

Contents?: true

Size: 167 Bytes

Versions: 320

Compression:

Stored size: 167 Bytes

Contents

class String
  if defined?(Encoding) && "".respond_to?(:encode)
    def encoding_aware?
      true
    end
  else
    def encoding_aware?
      false
    end
  end
end

Version data entries

320 entries across 276 versions & 28 rubygems

Version Path
activesupport-3.0.6.rc2 lib/active_support/core_ext/string/encoding.rb
activesupport-3.0.6.rc1 lib/active_support/core_ext/string/encoding.rb
activesupport-3.0.5 lib/active_support/core_ext/string/encoding.rb
activesupport-3.0.5.rc1 lib/active_support/core_ext/string/encoding.rb
activesupport-3.0.4 lib/active_support/core_ext/string/encoding.rb
activesupport-3.0.4.rc1 lib/active_support/core_ext/string/encoding.rb
activesupport-3.0.3 lib/active_support/core_ext/string/encoding.rb
activesupport-3.0.2 lib/active_support/core_ext/string/encoding.rb
activesupport-3.0.1 lib/active_support/core_ext/string/encoding.rb
activesupport-3.0.0 lib/active_support/core_ext/string/encoding.rb
activesupport-3.0.0.rc2 lib/active_support/core_ext/string/encoding.rb
activesupport-3.0.0.rc lib/active_support/core_ext/string/encoding.rb
csd-0.1.5 lib/active_support/core_ext/string/encoding.rb
csd-0.1.4 lib/active_support/core_ext/string/encoding.rb
csd-0.1.3 lib/active_support/core_ext/string/encoding.rb
csd-0.1.2 lib/active_support/core_ext/string/encoding.rb
csd-0.1.1 lib/active_support/core_ext/string/encoding.rb
csd-0.1.0 lib/active_support/core_ext/string/encoding.rb
csd-0.0.16 lib/active_support/core_ext/string/encoding.rb
activesupport-3.0.0.beta4 lib/active_support/core_ext/string/encoding.rb