diff options
Diffstat (limited to 'kernel.rb')
| -rw-r--r-- | kernel.rb | 13 |
1 files changed, 2 insertions, 11 deletions
@@ -17,7 +17,7 @@ module Kernel # def class Primitive.attr! :leaf - Primitive.cexpr! 'rb_obj_class(self)' + Primitive.cexpr! 'rb_obj_class_must(self)' end # @@ -141,6 +141,7 @@ module Kernel # loop do # print "Input: " # line = gets + # # break if q, Q is entered or EOF signal (Ctrl-D on Unix, Ctrl-Z on windows) is sent # break if !line or line =~ /^q/i # # ... # end @@ -291,13 +292,3 @@ module Kernel end end end - -class Module - # Internal helper for built-in initializations to define methods only when YJIT is enabled. - # This method is removed in yjit_hook.rb. - private def with_yjit(&block) # :nodoc: - if defined?(RubyVM::YJIT) - RubyVM::YJIT.send(:add_yjit_hook, block) - end - end -end |
