ruby/ruby — pull request #93 by lsegal (2012-02-12 22:59:42+00:00)
Title: Use directive hack to make ARGF documentable in other tools [DOC]

RDoc is able to parse commented blocks of code (inside `/**/`) as a side-effect of its parsing, but other tools will ignore commented blocks. Using the "#if 0" directive hack is more portable among tools (like YARD) and still allows developers to properly ignore code by commenting it out (assuming the doc tool supports this). Note that the directive hack is already used in io.c (above this line), so this is not a novel methodology.