[macruby-changes] [1079] MacRuby/branches/experimental/mspec/lib/pp.rb
source_changes at macosforge.org
source_changes at macosforge.org
Sun Mar 22 20:35:25 PDT 2009
Revision: 1079
http://trac.macosforge.org/projects/ruby/changeset/1079
Author: lsansonetti at apple.com
Date: 2009-03-22 20:35:25 -0700 (Sun, 22 Mar 2009)
Log Message:
-----------
fixed fake #pretty_inspect method
Modified Paths:
--------------
MacRuby/branches/experimental/mspec/lib/pp.rb
Modified: MacRuby/branches/experimental/mspec/lib/pp.rb
===================================================================
--- MacRuby/branches/experimental/mspec/lib/pp.rb 2009-03-23 03:31:59 UTC (rev 1078)
+++ MacRuby/branches/experimental/mspec/lib/pp.rb 2009-03-23 03:35:25 UTC (rev 1079)
@@ -1,5 +1,5 @@
module Kernel
- def pretty_inspect(obj)
- puts obj.inspect
+ def pretty_inspect
+ self.inspect
end
end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090322/98b14100/attachment.html>
More information about the macruby-changes
mailing list