Sha256: 63e1bade901d51be1de21ce87114dd61014769344fc52048bc0a98bdb0725717

Contents?: true

Size: 305 Bytes

Versions: 14

Compression:

Stored size: 305 Bytes

Contents

module RocketAMF
  module Values #:nodoc:
    # Hash-like object that can store a type string. Used to preserve type information
    # for unmapped objects after deserialization.
    class TypedHash < Hash
      attr_reader :type

      def initialize type
        @type = type
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 6 rubygems

Version Path
mrpin-rocketamf-1.0.4 lib/rocketamf/values/typed_hash.rb
mrpin-rocketamf-1.0.3 lib/rocketamf/values/typed_hash.rb
mrpin-rocketamf-1.0.2 lib/rocketamf/values/typed_hash.rb
scalm-RocketAMF-1.0.0-x86_64-darwin-13 lib/rocketamf/values/typed_hash.rb
scalm-RocketAMF-1.0.0 lib/rocketamf/values/typed_hash.rb
RocketAMF-ouvrages-1.0.0 lib/rocketamf/values/typed_hash.rb
rocketamf_pure-1.0.0 lib/rocketamf/values/typed_hash.rb
scotttam-RocketAMF-0.2.2 lib/rocketamf/values/typed_hash.rb
RocketAMF-0.2.1 lib/rocketamf/values/typed_hash.rb
RocketAMF-0.2.0 lib/rocketamf/values/typed_hash.rb
RocketAMF-0.1.0 lib/rocketamf/values/typed_hash.rb
RocketAMF-0.0.7 lib/rocketamf/values/typed_hash.rb
RocketAMF-0.0.6 lib/rocketamf/values/typed_hash.rb
RocketAMF-0.0.5 lib/rocketamf/values/typed_hash.rb