Class: Python::Pickle::Instructions::Obj

Inherits:
Python::Pickle::Instruction show all
Defined in:
lib/python/pickle/instructions/obj.rb

Overview

Note:

introduced in protocol 0.

Represents a pickle OBJ instruction.

Since:

  • 0.2.0

Instance Attribute Summary

Attributes inherited from Python::Pickle::Instruction

#opcode

Instance Method Summary collapse

Methods inherited from Python::Pickle::Instruction

#==, #inspect, #to_s

Constructor Details

#initializeObj

Initializes the OBJ instruction.

Since:

  • 0.2.0



18
19
20
# File 'lib/python/pickle/instructions/obj.rb', line 18

def initialize
  super(:OBJ)
end