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

ruby-changes:35037

From: hsbt <ko1@a...>
Date: Sun, 10 Aug 2014 10:05:21 +0900 (JST)
Subject: [ruby-changes:35037] hsbt:r47119 (trunk): * lib/irb/ext/multi-irb.rb: removed commented-out code.

hsbt	2014-08-10 10:05:06 +0900 (Sun, 10 Aug 2014)

  New Revision: 47119

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

  Log:
    * lib/irb/ext/multi-irb.rb: removed commented-out code.

  Modified files:
    trunk/ChangeLog
    trunk/lib/irb/ext/multi-irb.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 47118)
+++ ChangeLog	(revision 47119)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Aug 10 10:03:24 2014  SHIBATA Hiroshi  <shibata.hiroshi@g...>
+
+	* lib/irb/ext/multi-irb.rb: removed commented-out code.
+
 Sat Aug  9 11:02:07 2014  SHIBATA Hiroshi  <shibata.hiroshi@g...>
 
 	* lib/irb.rb: removed commented-out code.
Index: lib/irb/ext/multi-irb.rb
===================================================================
--- lib/irb/ext/multi-irb.rb	(revision 47118)
+++ lib/irb/ext/multi-irb.rb	(revision 47119)
@@ -231,25 +231,6 @@ module IRB https://github.com/ruby/ruby/blob/trunk/lib/irb/ext/multi-irb.rb#L231
     @JobManager.current_job = @JobManager.irb(Thread.current)
   end
 
-#   class Context
-#     def set_last_value(value)
-#       @last_value = value
-#       @workspace.evaluate "_ = IRB.JobManager.irb(Thread.current).context.last_value"
-#       if @eval_history #and !@__.equal?(@last_value)
-# 	@eval_history_values.push @line_no, @last_value
-# 	@workspace.evaluate "__ = IRB.JobManager.irb(Thread.current).context.instance_eval{@eval_history_values}"
-#       end
-#       @last_value
-#     end
-#   end
-
-#  module ExtendCommand
-#     def irb_context
-#       IRB.JobManager.irb(Thread.current).context
-#     end
-# #    alias conf irb_context
-#   end
-
   @CONF[:SINGLE_IRB_MODE] = false
   @JobManager.insert(@CONF[:MAIN_CONTEXT].irb)
   @JobManager.current_job = @CONF[:MAIN_CONTEXT].irb

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

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