|
From: <caw...@us...> - 2007-03-09 20:40:07
|
Revision: 2127
http://svn.sourceforge.net/rubyeclipse/?rev=2127&view=rev
Author: cawilliams
Date: 2007-03-09 12:39:58 -0800 (Fri, 09 Mar 2007)
Log Message:
-----------
add task marker to remind me - we need to get at module methods (particularly inside Module, like "include") that we aren't generating right now!
Modified Paths:
--------------
trunk/org.rubypeople.rdt.launching/ruby/core_stubber.rb
Modified: trunk/org.rubypeople.rdt.launching/ruby/core_stubber.rb
===================================================================
--- trunk/org.rubypeople.rdt.launching/ruby/core_stubber.rb 2007-03-09 20:39:21 UTC (rev 2126)
+++ trunk/org.rubypeople.rdt.launching/ruby/core_stubber.rb 2007-03-09 20:39:58 UTC (rev 2127)
@@ -50,6 +50,7 @@
f << "\n"
klass.included_modules.each {|mod| f << " include #{mod.to_s}\n" unless mod.to_s == "Kernel" && klass.to_s != "Object"}
f << "\n"
+ # FIXME We aren't grabbing some important methods inside Module (like "include")
klass.methods(false).each do |method_name|
method = eval("#{klass}").method(method_name) rescue nil
print_method(f, method, method_name.to_s, true)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|