[macruby-changes] [2436] MacRuby/trunk/test_vm/class.rb

source_changes at macosforge.org source_changes at macosforge.org
Sun Aug 30 13:52:38 PDT 2009


Revision: 2436
          http://trac.macosforge.org/projects/ruby/changeset/2436
Author:   eloy.de.enige at gmail.com
Date:     2009-08-30 13:52:38 -0700 (Sun, 30 Aug 2009)
Log Message:
-----------
Added failing test_vm test about public_method_defined?

Modified Paths:
--------------
    MacRuby/trunk/test_vm/class.rb

Modified: MacRuby/trunk/test_vm/class.rb
===================================================================
--- MacRuby/trunk/test_vm/class.rb	2009-08-30 02:59:29 UTC (rev 2435)
+++ MacRuby/trunk/test_vm/class.rb	2009-08-30 20:52:38 UTC (rev 2436)
@@ -72,3 +72,12 @@
   end
   p Y.new.foo
 }
+
+assert "true", %q{
+  class X
+    class << self
+      def foo; end
+      p public_method_defined?(:foo)
+    end
+  end
+}
\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090830/253e72dd/attachment.html>


More information about the macruby-changes mailing list