Class: Python::Pickle::Instructions::BinInt1

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

Overview

Note:

introduces in protocol 1.

Represents the BININT1 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) ⇒ BinInt1

Initializes the BININT1 instruction.

Parameters:

  • value (BinInt1)

    The BININT1 instruction's value.



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

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