Sha256: 3571f2128ba30fc0de58a2540f97c33d374480daab0824a795957da3833fe385

Contents?: true

Size: 395 Bytes

Versions: 3

Compression:

Stored size: 395 Bytes

Contents

require 'python/pickle/instruction'

module Python
  module Pickle
    module Instructions
      #
      # Represents a pickle `STOP` instruction.
      #
      class Stop < Instruction

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

      end

      # The `STOP` instruction.
      STOP = Stop.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/stop.rb
python-pickle-0.1.1 lib/python/pickle/instructions/stop.rb
python-pickle-0.1.0 lib/python/pickle/instructions/stop.rb