Sha256: a8a1921bec2eaa077b514e2b06a4ee6a652962a62ab849e7c0561d67c29d625a

Contents?: true

Size: 549 Bytes

Versions: 3

Compression:

Stored size: 549 Bytes

Contents

require 'python/pickle/instruction'
require 'python/pickle/instructions/has_value'

module Python
  module Pickle
    module Instructions
      #
      # Represents a pickle `EXT4` instruction.
      #
      # @note introduced in protocol 2.
      #
      class Ext4 < Instruction

        include HasValue

        #
        # Initializes the `EXT4` instruction.
        #
        # @param [Integer] value
        #   The extension code.
        #
        def initialize(value)
          super(:EXT4,value)
        end

      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
python-pickle-0.2.0 lib/python/pickle/instructions/ext4.rb
python-pickle-0.1.1 lib/python/pickle/instructions/ext4.rb
python-pickle-0.1.0 lib/python/pickle/instructions/ext4.rb