Sha256: 0ef77a5b63c833e9cebcff1257bffe8fe9194ed9dd4b44a3fe6514d86680f366

Contents?: true

Size: 494 Bytes

Versions: 1

Compression:

Stored size: 494 Bytes

Contents

require 'python/pickle/instruction'

module Python
  module Pickle
    module Instructions
      #
      # Represents a pickle `OBJ` instruction.
      #
      # @note introduced in protocol 0.
      #
      # @since 0.2.0
      #
      class Obj < Instruction

        #
        # Initializes the `OBJ` instruction.
        #
        def initialize
          super(:OBJ)
        end

      end

      # The `OBJ` instruction.
      #
      # @since 0.2.0
      OBJ = Obj.new
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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