Sha256: f86ac876efc2a3f92b80a02543c9e8b7cb4856aab9391fafce19dcebf4ba9b23

Contents?: true

Size: 353 Bytes

Versions: 8

Compression:

Stored size: 353 Bytes

Contents

require 'stringio'

module Seahorse
  module Client
    module Http
      class PlainStringIO < StringIO
        def inspect; string.inspect end

        def eq?(other)
          if other.is_a?(String) and self.string == other
            true
          else
            super
          end
        end
        alias == eq?

      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
aws-sdk-core-2.0.0.rc10 vendor/seahorse/lib/seahorse/client/http/plain_string_io.rb
aws-sdk-core-2.0.0.rc9 vendor/seahorse/lib/seahorse/client/http/plain_string_io.rb
aws-sdk-core-2.0.0.rc8 vendor/seahorse/lib/seahorse/client/http/plain_string_io.rb
aws-sdk-core-2.0.0.rc7 vendor/seahorse/lib/seahorse/client/http/plain_string_io.rb
aws-sdk-core-2.0.0.rc6 vendor/seahorse/lib/seahorse/client/http/plain_string_io.rb
aws-sdk-core-2.0.0.rc5 vendor/seahorse/lib/seahorse/client/http/plain_string_io.rb
aws-sdk-core-2.0.0.rc4 vendor/seahorse/lib/seahorse/client/http/plain_string_io.rb
aws-sdk-core-2.0.0.rc3 vendor/seahorse/lib/seahorse/client/http/plain_string_io.rb