[macruby-changes] [1017] MacRuby/branches/experimental/mspec/lib/mspec.rb
source_changes at macosforge.org
source_changes at macosforge.org
Fri Mar 20 02:02:31 PDT 2009
Revision: 1017
http://trac.macosforge.org/projects/ruby/changeset/1017
Author: eloy.de.enige at gmail.com
Date: 2009-03-20 02:02:31 -0700 (Fri, 20 Mar 2009)
Log Message:
-----------
Don't require pp for the specs. Added a simple replacement, but it's not enabled yet, first need to deal with Signal#trap.
Modified Paths:
--------------
MacRuby/branches/experimental/mspec/lib/mspec.rb
Modified: MacRuby/branches/experimental/mspec/lib/mspec.rb
===================================================================
--- MacRuby/branches/experimental/mspec/lib/mspec.rb 2009-03-20 08:49:34 UTC (rev 1016)
+++ MacRuby/branches/experimental/mspec/lib/mspec.rb 2009-03-20 09:02:31 UTC (rev 1017)
@@ -8,4 +8,11 @@
# If the implementation on which the specs are run cannot
# load pp from the standard library, add a pp.rb file that
# defines the #pretty_inspect method on Object or Kernel.
-require 'pp'
\ No newline at end of file
+# require 'pp'
+
+# TODO: Need to check if this is enough.
+# module Kernel
+# def pretty_inspect(obj)
+# puts obj.inspect
+# end
+# end
\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090320/e33cde4a/attachment.html>
More information about the macruby-changes
mailing list