[前][次][番号順一覧][スレッド一覧]

ruby-changes:48164

From: hsbt <ko1@a...>
Date: Sat, 21 Oct 2017 23:11:12 +0900 (JST)
Subject: [ruby-changes:48164] hsbt:r60278 (trunk): Removed obsoleted safe level checks on irb.

hsbt	2017-10-21 23:11:08 +0900 (Sat, 21 Oct 2017)

  New Revision: 60278

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60278

  Log:
    Removed obsoleted safe level checks on irb.
    
      https://github.com/ruby/ruby/pull/1713
    
      Patch by @y-yagi [fix GH-1713]

  Modified files:
    trunk/lib/irb.rb
Index: lib/irb.rb
===================================================================
--- lib/irb.rb	(revision 60277)
+++ lib/irb.rb	(revision 60278)
@@ -531,9 +531,6 @@ module IRB https://github.com/ruby/ruby/blob/trunk/lib/irb.rb#L531
             end
             print "Maybe IRB bug!\n" if irb_bug
           end
-          if $SAFE > 2
-            abort "Error: irb does not work for $SAFE level higher than 2"
-          end
         end
       end
     end

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]