HTMLToken
Class representing an HTML comment
# File lib/yadis/htmltokenizer.rb, line 208 def initialize(text) super(text) temp_arr = text.scan(/^<!--\s*(.*?)\s*-->$/) if temp_arr[0].nil? raise "Text passed to HTMLComment.initialize is not a comment" end @contents = temp_arr[0][0] end
[Validate]
Generated with the Darkfish Rdoc Generator 2.