Module: Mumukit
- Defined in:
- lib/mumukit.rb,
lib/mumukit/env.rb,
lib/mumukit/server.rb,
lib/mumukit/version.rb,
lib/mumukit/defaults.rb,
lib/mumukit/templates.rb,
lib/mumukit/with_tempfile.rb,
lib/mumukit/with_command_line.rb,
lib/mumukit/templates/file_hook.rb,
lib/mumukit/isolated_environment.rb,
lib/mumukit/request_validation_error.rb,
lib/mumukit/templates/with_code_smells.rb,
lib/mumukit/templates/mulang_expectations_hook.rb,
lib/mumukit/templates/with_mashup_file_content.rb,
lib/mumukit/templates/with_embedded_environment.rb,
lib/mumukit/templates/with_isolated_environment.rb
Defined Under Namespace
Modules: Defaults, Env, Metatest, RuntimeInfo, RuntimeShortcuts, Server, Templates, WithCommandLine, WithContentType, WithTempfile
Classes: Cookie, Explainer, Hook, IsolatedEnvironment, RequestValidationError, Runner, Runtime
Constant Summary
collapse
- VERSION =
'2.7.0'
Class Method Summary
collapse
Class Method Details
.current_runner ⇒ Object
12
13
14
15
|
# File 'lib/mumukit.rb', line 12
def self.current_runner
raise "no runner selected. Did you forget to set current runner's name?" unless @current_runner
@current_runner
end
|
.current_runner=(runner) ⇒ Object
8
9
10
|
# File 'lib/mumukit.rb', line 8
def self.current_runner=(runner)
@current_runner = runner
end
|
.runner_name ⇒ Object
21
22
23
|
# File 'lib/mumukit.rb', line 21
def self.runner_name
current_runner.name
end
|
.runner_name=(name) ⇒ Object
17
18
19
|
# File 'lib/mumukit.rb', line 17
def self.runner_name=(name)
self.current_runner = Mumukit::Runner.new(name)
end
|