Sha256: 1e7b87b20d8131c6b65a4b478bdd3e5e30ec0f2d2e8d694bbf2ff524026ce6bb

Contents?: true

Size: 388 Bytes

Versions: 3

Compression:

Stored size: 388 Bytes

Contents

require 'python/pickle/instruction'

module Python
  module Pickle
    module Instructions
      #
      # Represents a pickle `DUP` instruction.
      #
      class Dup < Instruction

        #
        # Initializes the `DUP` instruction.
        #
        def initialize
          super(:DUP)
        end

      end

      # The `DUP` instruction.
      DUP = Dup.new
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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