Sha256: a86a7ee7c7dbbc2e4bdf7ef3d6816874b94317248943844a22f4718222236076

Contents?: true

Size: 577 Bytes

Versions: 3

Compression:

Stored size: 577 Bytes

Contents

require 'python/pickle/instruction'
require 'python/pickle/instructions/has_value'

module Python
  module Pickle
    module Instructions
      #
      # Represents the `BINFLOAT` instruction.
      #
      # @note introduces in protocol 1.
      #
      class BinFloat < Instruction

        include HasValue

        #
        # Initializes the `BINFLOAT` instruction.
        #
        # @param [BinFloat] value
        #   The `BINFLOAT` instruction's value.
        #
        def initialize(value)
          super(:BINFLOAT,value)
        end

      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
python-pickle-0.2.0 lib/python/pickle/instructions/bin_float.rb
python-pickle-0.1.1 lib/python/pickle/instructions/bin_float.rb
python-pickle-0.1.0 lib/python/pickle/instructions/bin_float.rb