class Object

Constants

Python2VersionHook
Python3VersionHook
PythonExpectationsHook
PythonMetadataHook
PythonQueryHook
PythonTestHook
PythonVersionHook

Public Instance Methods

reload_python2_runner!() click to toggle source
# File lib/python2_runner.rb, line 3
def reload_python2_runner!
  Mumukit.runner_name = 'python'
  Mumukit.configure do |config|
    config.docker_image = 'mumuki/mumuki-python2-worker:0.1'
    # comment type should be Mumukit::Directives::CommentType::Ruby, but it is
    # Mumukit::Directives::CommentType::Cpp for backward compatibility
    config.stateful = true
    config.structured = true
  end
end
reload_python3_runner!() click to toggle source
# File lib/python3_runner.rb, line 3
def reload_python3_runner!
  Mumukit.runner_name = 'python3'
  Mumukit.configure do |config|
    config.docker_image = 'mumuki/mumuki-python3-worker:0.1'
    config.comment_type = Mumukit::Directives::CommentType::Ruby
    config.structured = true
    config.stateful = true
  end
end