[#9722] Kernel#system broken inside Dir.chdir(&block) if system command doesn't have shell characters — <noreply@...>

Bugs item #7278, was opened at 2006-12-14 13:59

8 messages 2006/12/14

[#9749] System V IPC in standard library? — Steven Jenkins <steven.jenkins@...>

Back in August, I needed a semaphore to serialize access to an external

14 messages 2006/12/19

[#9753] CVS freeze — SASADA Koichi <ko1@...>

Hi,

20 messages 2006/12/20
[#9755] Re: [ruby-dev:30039] CVS freeze — SASADA Koichi <ko1@...> 2006/12/20

Hi,

[#9757] Re: [ruby-dev:30040] Re: CVS freeze — SASADA Koichi <ko1@...> 2006/12/20

Hi,

Re: [ ruby-Patches-7499 ] RDoc patch that fixes rb_const_define output

From: Eric Hodel <drbrain@...7.net>
Date: 2006-12-30 22:07:25 UTC
List: ruby-core #9809
On Dec 30, 2006, at 04:23, <noreply@rubyforge.org> wrote:

> Patches item #7499, was opened at 2006-12-30 05:23
> You can respond by visiting:
> http://rubyforge.org/tracker/? 
> func=detail&atid=1700&aid=7499&group_id=426
>
> Category: Ruby1.8
> Group: None
> Status: Open
> Resolution: None
> Priority: 3
> Submitted By: Daniel Berger (djberg96)
> Assigned to: Nobody (None)
> Summary: RDoc patch that fixes rb_const_define output
>
> Initial Comment:
> Hi,
>
> The current RDoc behavior for handling rb_const_define is not  
> ideal.  For example, if you have a code snippet like this:
>
> /* The perfect score in bowling */
> rb_const_define(cFoo, "PERFECT", INT2FIX(MAX_BOWLING_VALUE));
>
> You'll end up seeing this in the generated HTML file:
>
> PERFECT = INT2FIX(MAX_BOWLING_VALUE) The perfect score in bowling
>
> When I really want to see this:
>
> PERFECT = 300 The perfect score in bowling
>
> While I could explicitly state the value in the comment, that still  
> leaves the ugly "INT2FIX(MAX_BOWLING_VALUE)" as the definition for  
> an end user to see.  The attached patch fixes that by allowing the  
> user to specify a value manually within the comment using a "value:  
> comment" form.  Literal ':' can be escaped with the '\' (backslash)  
> character, if needed.

Does the input end up being:

/* value: 300 The perfect score in bowling */
rb_define_const(...);

?

Can the value derictive be ":value: 300" to match the rest of the  
RDoc directives?

-- 
Eric Hodel - drbrain@segment7.net - http://blog.segment7.net

I LIT YOUR GEM ON FIRE!


In This Thread