ref: refs/heads/master
commit cf4215e4c7b841fdd85935ad6c3c8254bb46d177
Author: Klaus Kämpf
Date: Tue Mar 24 19:04:46 2009 +0100
Add extend_name to NormalModule
This completes the %rename/%extend dance we already implemented for
NormalClass
---
bindings/ruby/parse_swig.rb | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/bindings/ruby/parse_swig.rb b/bindings/ruby/parse_swig.rb
index 0f360dc..d56bbfe 100644
--- a/bindings/ruby/parse_swig.rb
+++ b/bindings/ruby/parse_swig.rb
@@ -59,6 +59,10 @@ module RDoc
attr_accessor :extend_name
end
+ class NormalModule
+ attr_accessor :extend_name
+ end
+
class AnyMethod
attr_accessor :orig_name
end
@@ -189,7 +193,7 @@ module RDoc
#
def find_class_comment(class_name, class_meth)
- puts "find_class_comment(#{class_name}, #{class_meth.extend_name})"
+# puts "find_class_comment(#{class_name}, #{class_meth.extend_name})"
comment = nil
if @body =~ %r{((?>/\*.*?\*/\s+))
%extend\s+#{class_meth.extend_name}\s*\{}xm
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org