Class: Python::Pickle::Instructions::Ext4

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

Overview

Note:

introduced in protocol 2.

Represents a pickle EXT4 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) ⇒ Ext4

Initializes the EXT4 instruction.

Parameters:

  • value (Integer)

    The extension code.



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

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