Skip to content
Browse files

r3612@pinealgland: sven | 2006-04-04 12:14:34 +0200

 nicer check for HTree class


git-svn-id: svn://78.47.249.61/ruby-mediawiki/trunk@56 ba9c31aa-a806-0410-9a81-9f13d15ee83b
  • Loading branch information...
1 parent af22ff7 commit dd54d795ef994d032fddc291c59afb54e4ce5cc4 sven committed Apr 4, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/mediawiki/article.rb
View
2 lib/mediawiki/article.rb
@@ -163,7 +163,7 @@ def what_links_here
protected
def to_rexml( html )
- if $".member?( 'htree.rb' )
+ if Class.constants.member?( 'HTree' )
rexml = HTree( html ).to_rexml
else
rexml = REXML::Document.new( html )

0 comments on commit dd54d79

Please sign in to comment.
Something went wrong with that request. Please try again.