Sha256: 363fd84aec4eb1c76df2cb9c3962b5eba5743fa7a59a56876b612c0c72f05df2

Contents?: true

Size: 314 Bytes

Versions: 28

Compression:

Stored size: 314 Bytes

Contents

module GorgonAMQ
  module Protocol
    # Allows distinguishing between 32-bit and 64-bit floats in Ruby.
    # Useful in cases when RabbitMQ plugins encode
    # values as 32 bit numbers.
    class Float32Bit
      attr_reader :value

      def initialize(value)
        @value = value
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
gorgon-0.11.1 lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/float_32bit.rb
gorgon-0.11.0 lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/float_32bit.rb
gorgon-0.10.5 lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/float_32bit.rb
gorgon-0.10.4 lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/float_32bit.rb
gorgon-0.10.3 lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/float_32bit.rb
gorgon-0.10.2 lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/float_32bit.rb
gorgon-0.10.1 lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/float_32bit.rb
gorgon-0.10.0 lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/float_32bit.rb
gorgon-0.9.0 lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/float_32bit.rb
gorgon-0.8.4 lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/float_32bit.rb
gorgon-0.8.3 lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/float_32bit.rb
gorgon-0.8.2 lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/float_32bit.rb
gorgon-0.8.1 lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/float_32bit.rb
gorgon-0.8.0 lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/float_32bit.rb
gorgon-0.7.1 lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/float_32bit.rb
gorgon-0.7.0 lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/float_32bit.rb
gorgon-0.7.0.rc4 lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/float_32bit.rb
gorgon-0.7.0.rc3 lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/float_32bit.rb
gorgon-0.7.0.rc2 lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/float_32bit.rb
gorgon-0.7.0.rc1 lib/gorgon_amq-protocol/lib/gorgon_amq/protocol/float_32bit.rb