Sha256: feea7e414dc04e2a1ea519ed372242d99c5f87a4667d6e692fb51d9066cb1ecc

Contents?: true

Size: 250 Bytes

Versions: 2

Compression:

Stored size: 250 Bytes

Contents

require 'rubypython'

module RubyPython::LegacyMode
  class << self
    def setup_legacy
      RubyPython.legacy_mode = true
    end

    def teardown_legacy
      RubyPython.legacy_mode = false
    end
  end
end

RubyPython::LegacyMode.setup_legacy

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubypython-0.3.1 lib/rubypython/legacy.rb
rubypython-0.3.0 lib/rubypython/legacy.rb