From: "zzak (Zachary Scott)" Date: 2013-03-24T01:18:52+09:00 Subject: [ruby-core:53678] [ruby-trunk - Bug #8157] How to write document for __LINE__, __FILE__, __END__ Issue #8157 has been updated by zzak (Zachary Scott). I think we will have to teach RDoc to understand these keywords. If you want to reference them from another class or method, wrapping them in + should prevent RDoc from generating any extra markup, ie: +__FILE__+ ---------------------------------------- Bug #8157: How to write document for __LINE__, __FILE__, __END__ https://bugs.ruby-lang.org/issues/8157#change-37862 Author: naruse (Yui NARUSE) Status: Assigned Priority: Normal Assignee: drbrain (Eric Hodel) Category: lib Target version: ruby -v: ruby 2.1.0dev (2013-03-24 trunk 39888) [x86_64-freebsd9.1] How do I write document for __LINE__, __FILE__, __END__ ? Moreover, __ is expressed as _ in rdoc. How can I avoid it? -- http://bugs.ruby-lang.org/