[macruby-changes] [4642] DietRB/trunk/lib/irb.rb

source_changes at macosforge.org source_changes at macosforge.org
Fri Oct 8 03:52:57 PDT 2010


Revision: 4642
          http://trac.macosforge.org/projects/ruby/changeset/4642
Author:   eloy.de.enige at gmail.com
Date:     2010-10-08 03:52:56 -0700 (Fri, 08 Oct 2010)
Log Message:
-----------
Oops

From: Eloy Duran <eloy.de.enige at gmail.com>

Modified Paths:
--------------
    DietRB/trunk/lib/irb.rb

Modified: DietRB/trunk/lib/irb.rb
===================================================================
--- DietRB/trunk/lib/irb.rb	2010-10-08 10:52:49 UTC (rev 4641)
+++ DietRB/trunk/lib/irb.rb	2010-10-08 10:52:56 UTC (rev 4642)
@@ -7,8 +7,8 @@
 
 module Kernel
   # Creates a new IRB::Context with the given +object+ and runs it.
-  def irb(object)
-    IRB::Context.new(object).run
+  def irb(object, binding = nil)
+    IRB::Context.new(object, binding).run
   end
   
   private :irb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20101008/a0d0f265/attachment.html>


More information about the macruby-changes mailing list