Bugs: Browse | Submit New | Admin

[#5740] RDOC doesn't show string "#" or "\#"

Date:
2006-09-13 11:55
Priority:
2
Submitted By:
(peturrr)
Assigned To:
Eric Hodel (drbrain)
Category:
Documentation, ri, and rdoc
State:
Open
Platform:
 
Summary:
RDOC doesn't show string "#" or "\#"

Detailed description
I am working with musical signs like "#".
In a method this "#" is assigned to a variable by default.
like: 

Def foo(bar = "#")
end

In RDOC this shows up as:

foo(bar = "


When bar = "\#"
it shows up as:

foo(bar = "\


The method just works, but RDOC mistakinly filters it out as a comment or something. 



Add A Comment: Notepad

Please login


Followup

Message
Date: 2007-05-25 15:22
Sender: Daniel Berger

I think this is a difficult exception to handle. But, rather
than forcing people to use escapes in their code just so RDoc
will pick it up properly (which doesn't work right now anyway),
I vote that any '#' sign surrounded by quotes be interpreted
literally.

I'll see if I can whip up a patch today.

Dan

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
category_idMisc / Other Standard Library2007-05-29 16:15zenspider
summaryRDOC doesn't show string "#" or "\#"2007-05-29 16:15zenspider
assigned_tozenspider2007-03-20 00:30zenspider
summaryRDOC doesn't show string "#" or "\#"2007-03-20 00:30zenspider
resolution_idNone2006-11-02 06:09zenspider
summaryRDOC doesn't show string "#" or "\#"2006-11-02 06:09zenspider
category_idLanguage / Runtime / Core Libraries2006-11-02 06:09zenspider
priority32006-11-02 06:09zenspider
assigned_tonone2006-11-02 06:09zenspider