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: Hook, IsolatedEnvironment, RequestValidationError, Runner, Runtime
Constant Summary
collapse
- VERSION =
'2.4.0'
Class Method Summary
collapse
Class Method Details
32
33
34
|
# File 'lib/mumukit.rb', line 32
def self.configure_defaults(&block)
Mumukit::Runner.configure_defaults(&block)
end
|
.current_runner ⇒ Object
19
20
21
22
|
# File 'lib/mumukit.rb', line 19
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
15
16
17
|
# File 'lib/mumukit.rb', line 15
def self.current_runner=(runner)
@current_runner = runner
end
|
.runner_name ⇒ Object
28
29
30
|
# File 'lib/mumukit.rb', line 28
def self.runner_name
current_runner.name
end
|
.runner_name=(name) ⇒ Object
24
25
26
|
# File 'lib/mumukit.rb', line 24
def self.runner_name=(name)
self.current_runner = Mumukit::Runner.new(name)
end
|