kernel/common/compiled_method.rb
# Any CompiledMethod with this value in it's serial slot
# is expected to be the default, kernel version
Any CompiledMethod with this value in it's serial slot
is expected to be the default, kernel version
Any CompiledMethod with this value in it ' s serial slot is expected to be the default kernel version
def activate_as_script
    mc = MAIN.metaclass
    mc.method_table[:__script__] = self
    compile
    Rubinius::VM.reset_method_cache :__script__
    MAIN.__script__
  end
def activate_as_script mc = MAIN . metaclass mc . method_table [ :__script__ ] = self compile Rubinius :: VM . reset_method_cache :__script__ MAIN . __script__ end
Any CompiledMethod with this value in it's serial slot
is expected to be the default, kernel version
Any CompiledMethod with this value in it ' s serial slot is expected to be the default kernel version