Sha256: 6600c73dcbfbe67bca6ebb2263ae240bd270e7b2aba7f59394e36752b831fff4
Contents?: true
Size: 510 Bytes
Versions: 6
Compression:
Stored size: 510 Bytes
Contents
require 'rubypython' # A quick way to activate <em>Legacy Mode</em> for a project. Requiring # +'rubypython/legacy' automatically activates +RubyPython.legacy_mode+ on # the project. This mode is deprecated and will be removed. module RubyPython::LegacyMode # Enables +RubyPython.legacy_mode+. def self.setup_legacy RubyPython.legacy_mode = true end # Disables +RubyPython.legacy_mode+. def self.teardown_legacy RubyPython.legacy_mode = false end end RubyPython::LegacyMode.setup_legacy
Version data entries
6 entries across 6 versions & 2 rubygems