Sha256: 58bb88aa5bbefeba66453d2319efd94402f0124473bd8d18e8b3d2de0b171d40

Contents?: true

Size: 594 Bytes

Versions: 1

Compression:

Stored size: 594 Bytes

Contents

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

module Python
  module Pickle
    module Instructions
      #
      # Represents the `PERSID` instruction.
      #
      # @note introduced in protocol 0.
      #
      # @since 0.2.0
      #
      class PersID < Instruction

        include HasValue

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

      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
python-pickle-0.2.0 lib/python/pickle/instructions/persid.rb