Module: Mumukit::Core
- Defined in:
- lib/mumukit/core.rb,
lib/mumukit/core/request.rb,
lib/mumukit/core/version.rb,
lib/mumukit/core/configurable.rb
Defined Under Namespace
Modules: Configurable, Subdominated
Constant Summary collapse
- VERSION =
'1.18.0'
Class Method Summary collapse
Class Method Details
.test_mode! ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/mumukit/core.rb', line 7 def test_mode! Class.class_eval do break if method_defined? :__mumukit_core_contract_new__ alias_method :__mumukit_core_contract_new__, :new def new(*args, &block) validate_complies_with_contract! __mumukit_core_contract_new__(*args, &block) end end end |