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
dirty_history-0.5.0 dirty_history/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/core_ext/string/encoding.rb
challah-0.4.1 vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/encoding.rb
challah-0.4.0 vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/encoding.rb
challah-0.3.5 vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/encoding.rb
challah-0.3.4 vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/encoding.rb
challah-0.3.3 vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/encoding.rb
challah-0.3.2 vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/encoding.rb
challah-0.3.1 vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/encoding.rb
challah-0.3.0 vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/encoding.rb
challah-0.2.1 vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/encoding.rb
challah-0.2.0 vendor/bundle/gems/activesupport-3.2.1/lib/active_support/core_ext/string/encoding.rb
activesupport-3.2.1 lib/active_support/core_ext/string/encoding.rb
activesupport-3.2.0 lib/active_support/core_ext/string/encoding.rb
activesupport-3.2.0.rc2 lib/active_support/core_ext/string/encoding.rb
dirty_history-0.4.10 dirty_history/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/core_ext/string/encoding.rb
dirty_history-0.4.9 dirty_history/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/core_ext/string/encoding.rb
activesupport-3.2.0.rc1 lib/active_support/core_ext/string/encoding.rb
dirty_history-0.4.8 dirty_history/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/core_ext/string/encoding.rb
dirty_history-0.4.7 dirty_history/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/core_ext/string/encoding.rb
dirty_history-0.4.6 dirty_history/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/core_ext/string/encoding.rb