module Mumukit::Core

Constants

VERSION

Public Class Methods

new(*args, &block) click to toggle source
# File lib/mumukit/core.rb, line 12
def new(*args, &block)
  validate_complies_with_contract!
  __mumukit_core_contract_new__(*args, &block)
end
test_mode!() click to toggle source
# 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