[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ruby-talk
Subject:    Re: RDoc-style documentation for Ruby keywords
From:       Eric Hodel <drbrain () segment7 ! net>
Date:       2009-06-30 2:04:03
Message-ID: 2F534646-787E-4672-8E52-0D1A39927749 () segment7 ! net
[Download RAW message or body]

On Jun 29, 2009, at 17:45, "David A. Black" <dblack@rubypal.com> wrote:

> Cool. Do you think there's a fundamentally better way to do the whole
> thing than these phony method definitions? (def false, etc.) I like
> having them split up, method-fashion, but it's a kluge.

In RDoc 2 you can use directives to make methods:

##
# :method: false
# blah blah comment

##
# :method: or
# etc.

But it still would need to live somewhere like Object (at least IIRC)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic