[macruby-changes] [3912] MacRuby/trunk/test_vm/module.rb
source_changes at macosforge.org
source_changes at macosforge.org
Tue Apr 6 17:47:29 PDT 2010
Revision: 3912
http://trac.macosforge.org/projects/ruby/changeset/3912
Author: lsansonetti at apple.com
Date: 2010-04-06 17:47:27 -0700 (Tue, 06 Apr 2010)
Log Message:
-----------
add one more test
Modified Paths:
--------------
MacRuby/trunk/test_vm/module.rb
Modified: MacRuby/trunk/test_vm/module.rb
===================================================================
--- MacRuby/trunk/test_vm/module.rb 2010-04-06 21:51:01 UTC (rev 3911)
+++ MacRuby/trunk/test_vm/module.rb 2010-04-07 00:47:27 UTC (rev 3912)
@@ -213,3 +213,10 @@
class Y<X
end
}
+
+assert ':ok', %{
+ m = Module.new do
+ define_method(:foo) { p :ok }
+ end
+ Class.new.extend(m).foo
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100406/32789713/attachment.html>
More information about the macruby-changes
mailing list