Module: RubyPython::LegacyMode

Defined in:
lib/rubypython/legacy.rb

Class Method Summary collapse

Class Method Details

.setup_legacyObject



5
6
7
# File 'lib/rubypython/legacy.rb', line 5

def setup_legacy
  RubyPython.legacy_mode = true
end

.teardown_legacyObject



9
10
11
# File 'lib/rubypython/legacy.rb', line 9

def teardown_legacy
  RubyPython.legacy_mode = false
end