# RDoc =begin and =end?

**URL:** <https://rubytalk.org/t/rdoc-begin-and-end/15181>\
**Category:** ruby-talk\
**Created:** [7 December 2004 02:03 UTC](https://rubytalk.org/t/rdoc-begin-and-end/15181 "2004-12-07T02:03:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![T\_Onoma](https://avatars.discourse-cdn.com/v4/letter/t/c2a13f/32.png) [@T\_Onoma](https://rubytalk.org/u/T_Onoma)\
**Post date:** [7 December 2004 02:03 UTC](https://rubytalk.org/t/rdoc-begin-and-end/15181/1 "2004-12-07T02:03:25Z")

</div>

I'm currently trying to Rdoc a large project. After a great deal of typing  
documentation for each .rb (well over a hundred!), I have discovered that  
Rdoc is not documenting anyting inbetween =being and =end. Is there a reason  
for this? Is there a way to tell it to do so?

Also, for some reason --and at this point I have no idea why, RDoc is not  
adding any methods. All I get is a top description (if not using =begin =end)  
and then a list of method names (which end in a trailing comma), e.g.

&nbsp;&nbsp;Class  
&nbsp;&nbsp;Binding

&nbsp;&nbsp;Methods  
&nbsp;&nbsp;[], []=, caller, class, defined?, eval, filename, lineno, self,

And nothing else. Any ideas?

Thanks,  
T.

---

<div class="post-metadata">

**Author:** ![James\_Edward\_Gray\_II](https://avatars.discourse-cdn.com/v4/letter/j/ea5d25/32.png) [@James\_Edward\_Gray\_II](https://rubytalk.org/u/James_Edward_Gray_II)\
**Post date:** [7 December 2004 04:54 UTC](https://rubytalk.org/t/rdoc-begin-and-end/15181/2 "2004-12-07T04:54:56Z")

</div>

Sure is.

=begin rdoc  
...  
=end

Hope that helps.

James

> **···**
>
> On Dec 6, 2004, at 8:03 PM, trans. (T. Onoma) wrote:
> 
> > I'm currently trying to Rdoc a large project. After a great deal of typing  
> > documentation for each .rb (well over a hundred!), I have discovered that  
> > Rdoc is not documenting anyting inbetween =being and =end. Is there a reason  
> > for this? Is there a way to tell it to do so?

---

<div class="post-metadata">

**Author:** ![Dave\_Thomas2](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@Dave\_Thomas2](https://rubytalk.org/u/Dave_Thomas2)\
**Post date:** [7 December 2004 18:15 UTC](https://rubytalk.org/t/rdoc-begin-and-end/15181/3 "2004-12-07T18:15:14Z")

</div>

> I'm currently trying to Rdoc a large project. After a great deal of typing  
> documentation for each .rb (well over a hundred!), I have discovered that  
> Rdoc is not documenting anyting inbetween =being and =end. Is there a reason  
> for this? Is there a way to tell it to do so?

=begin rdoc

=end

That way it can coexist with other uses of =begin/=end

> Also, for some reason --and at this point I have no idea why, RDoc is not  
> adding any methods. All I get is a top description (if not using =begin =end)  
> and then a list of method names (which end in a trailing comma), e.g.

Are you using a recent RDoc?

Cheers

Dave

> **···**
>
> On Dec 6, 2004, at 20:03, trans. (T. Onoma) wrote:

---

<div class="post-metadata">

**Author:** ![T\_Onoma](https://avatars.discourse-cdn.com/v4/letter/t/c2a13f/32.png) [@T\_Onoma](https://rubytalk.org/u/T_Onoma)\
**Post date:** [9 December 2004 05:18 UTC](https://rubytalk.org/t/rdoc-begin-and-end/15181/4 "2004-12-09T05:18:15Z")

</div>

Whoa, almost lost this thread...

I'm using what comes with Debian testing.

&nbsp;&nbsp;RDoc V1.0.1 - 20041108

That's probably out of date, huh?

T.

> **···**
>
> On Tuesday 07 December 2004 01:15 pm, Dave Thomas wrote:
> 
> > Are you using a recent RDoc?

---

<div class="post-metadata">

**Author:** ![Dave\_Thomas2](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@Dave\_Thomas2](https://rubytalk.org/u/Dave_Thomas2)\
**Post date:** [9 December 2004 13:45 UTC](https://rubytalk.org/t/rdoc-begin-and-end/15181/5 "2004-12-09T13:45:32Z")

</div>

No - that's a current vintage. If you still see the problem, why not ship me a file that exhibits the problem (of post a one or two method snippet here) and I'll have a look.

Cheers

Dave

> **···**
>
> On Dec 8, 2004, at 23:18, trans. (T. Onoma) wrote:
> 
> > That's probably out of date, huh?
