Class: Python::Pickle::Instructions::Frame

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

Overview

Note:

introduced in protocol 4.

Represents a pickle FRAME instruction.

Instance Attribute Summary

Attributes included from HasValue

#value

Attributes inherited from Python::Pickle::Instruction

#opcode

Instance Method Summary collapse

Methods included from HasValue

#==, #to_s

Methods inherited from Python::Pickle::Instruction

#==, #inspect, #to_s

Constructor Details

#initialize(value) ⇒ Frame

Initializes the FRAME instruction.

Parameters:

  • value (Integer)

    The frame's length in bytes.



22
23
24
# File 'lib/python/pickle/instructions/frame.rb', line 22

def initialize(value)
  super(:FRAME,value)
end