Feature Requests: Browse | Submit New | Admin

[#25755] Allow more flexible :nodoc: for constants

Date:
2009-05-02 09:15
Priority:
3
Submitted By:
Daniel Berger (djberg96)
Assigned To:
Eric Hodel (drbrain)
Category:
RDoc parser
State:
Open
Summary:
Allow more flexible :nodoc: for constants

Detailed description
I would like to be able to document constants in a more flexible manner. Consider the following example:

class Foo
   ALPHA = 1 # :nodoc:
   
   BETA = # :nodoc:
     "hello"
   
   # :nodoc:
   GAMMA = 'world'
end

At the moment only the ALPHA constant is nodoc'd correctly. The other two examples do not work as expected, with the
last example even emitting a warning.

I would like all three of these to be legal.

Regards,

Dan

Add A Comment: Notepad

Please login


Followup

Message
Date: 2011-01-02 23:15
Sender: Eric Hodel

I think the change required to support GAMMA is too big.

I will look into supporting BETA.

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
assigned_tonone2011-01-02 23:15drbrain