From 9d2d0a47bceca611f9e959601223365c7c2c9860 Mon Sep 17 00:00:00 2001 From: Jamis Buck Date: Mon, 31 Jan 2005 05:12:29 +0000 Subject: Fixed deprecation warnings in faq.rb about Object#id. --- doc/faq/faq.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/faq/faq.rb b/doc/faq/faq.rb index 13d29e4..130f712 100644 --- a/doc/faq/faq.rb +++ b/doc/faq/faq.rb @@ -52,7 +52,7 @@ def process_faq_list_item( faq ) puts question_text process_faq_list answer else - print "#{question_text}" + print "#{question_text}" end puts "" @@ -75,7 +75,7 @@ def process_faq_description( faq, path ) title = RedCloth.new( path ).to_html.gsub( %r{}, "" ) answer = RedCloth.new( answer || "" ) - puts "" + puts "" puts "
#{title}
" puts "
#{add_api_links(answer.to_html)}
" end -- cgit