Sha256: 865cbe883feaaf9b9605a1de2a16f9893e0827952e34a29489db43f713c98e53

Contents?: true

Size: 416 Bytes

Versions: 3

Compression:

Stored size: 416 Bytes

Contents

require 'python/pickle/instruction'

module Python
  module Pickle
    module Instructions
      #
      # Represents a pickle `NEWTRUE` instruction.
      #
      class NewTrue < Instruction

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

      end

      # The `NEWTRUE` instruction.
      NEWTRUE = NewTrue.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/new_true.rb
python-pickle-0.1.1 lib/python/pickle/instructions/new_true.rb
python-pickle-0.1.0 lib/python/pickle/instructions/new_true.rb