Class: Python::Pickle::Instructions::BinGet

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

Overview

Represents the BINGET 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) ⇒ BinGet

Initializes the BINGET instruction.

Parameters:

  • value (Integer)

    The BINGET instruction's value.



20
21
22
# File 'lib/python/pickle/instructions/bin_get.rb', line 20

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