aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2012-06-03 23:12:55 +0100
committerAvatar David Leverton <levertond@googlemail.com> 2012-06-03 23:12:55 +0100
commit147f3d67d45933028db1025d03df4b2e222d4baa (patch)
treee2e2a4cd120e84ca8eacfd0ffaa3e623f4003651
parentab65bd9522efe43ca1d39405d01b979def5ea057 (diff)
downloadpaludis-147f3d67d45933028db1025d03df4b2e222d4baa.tar.gz
paludis-147f3d67d45933028db1025d03df4b2e222d4baa.tar.xz
Work with recent RDoc
Still a bit glitchy, but doesn't fail to build anymore.
-rw-r--r--doc/api/ruby/create_ruby_doc.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/ruby/create_ruby_doc.rb b/doc/api/ruby/create_ruby_doc.rb
index 1d25ce8..06e9c04 100644
--- a/doc/api/ruby/create_ruby_doc.rb
+++ b/doc/api/ruby/create_ruby_doc.rb
@@ -6,7 +6,7 @@ require 'rdoc/rdoc'
module RDoc
- class C_Parser_Paludis < C_Parser
+ class C_Parser_Paludis < const_defined?(:C_Parser) ? C_Parser : Parser::C
#override C_Parse
parse_files_matching(/\.(c|cc|cpp|CC)$/)