Sha256: 9eb6b1935c492ac8d7a3314f1b60b1cc7877ba4efd353385a99bce20992a1e9d

Contents?: true

Size: 566 Bytes

Versions: 3

Compression:

Stored size: 566 Bytes

Contents

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

module Python
  module Pickle
    module Instructions
      #
      # Represents the `BINPUT` instruction.
      #
      # @note introduced in protocol 1.
      #
      class BinPut < Instruction

        include HasValue

        #
        # Initializes the `BINPUT` instruction.
        #
        # @param [Integer] value
        #   The `BINPUT` instruction's value.
        #
        def initialize(value)
          super(:BINPUT,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_put.rb
python-pickle-0.1.1 lib/python/pickle/instructions/bin_put.rb
python-pickle-0.1.0 lib/python/pickle/instructions/bin_put.rb