From: Thomas Preymesser Date: 2009-08-16T04:12:49+09:00 Subject: Re: todo --0016e6d7dff43494f7047132f492 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 2009/8/15 Slava Mikerin > What is the correct (if any) way to mark code with todo sign (#todo, > @todo, ...)? you could use blocks like this: def to &b puts "TODO at file #{b.source_location[0]} line: #{b.source_location[1]}" end puts 1 to do write code to output "2" end puts 3 to do calculate the square root end -Thomas -- Thomas Preymesser thopre@gmail.com http://thopre.googlepages.com/ http://thopre.wordpress.com/ Sent from Berlin, BE, Germany Pablo Picasso - "Computers are useless. They can only give you answers." --0016e6d7dff43494f7047132f492--