How do I create a link to the documentation of a specific method in a
different class?
I can put #Class or #method in a comment, and it will turn into a
hyperlink in the html output – but #Class.method, #Class::method only
turn the class name into a link.
How do I create a link to the documentation of a specific method in a
different class?
I can put #Class or #method in a comment, and it will turn into a
hyperlink in the html output – but #Class.method, #Class::method only
turn the class name into a link.
Is there a particular version I should be using? I upgraded to 0.9 (I
was using the debian package, which is only 0.67), but that doesn’t
seem to have helped.
How do I create a link to the documentation of a specific method in a
different class?
I can put #Class or #method in a comment, and it will turn into a
hyperlink in the html output – but #Class.method, #Class::method only
turn the class name into a link.
Hm. My mistake. I’ve typed Foo#bar in my comments but never noticed that
it doesn’t produce a link. Bummer…
···
Is there a particular version I should be using? I upgraded to 0.9 (I
was using the debian package, which is only 0.67), but that doesn’t
seem to have helped.
How do I create a link to the documentation of a specific method in a
different class?
I can put #Class or #method in a comment, and it will turn into a
hyperlink in the html output – but #Class.method, #Class::method only
turn the class name into a link.
Let me look at this. Previously this was hard to do, but I recently
rewrote the scope resolution stuff, so I should now be able to produce
hyperlinks for this kind of construct.
Cheers
Dave
···
On Tuesday, Sep 23, 2003, at 00:50 Europe/Copenhagen, Joel VanderWerf wrote:
Nathan Weston wrote:
Nope, that doesn’t do it either.
Hm. My mistake. I’ve typed Foo#bar in my comments but never noticed
that it doesn’t produce a link. Bummer…
OK - the latest CVS now supports linking into methods in other classes.
Cheers
Dave
···
On Tuesday, Sep 23, 2003, at 08:14 Europe/Copenhagen, Dave Thomas wrote:
Let me look at this. Previously this was hard to do, but I recently
rewrote the scope resolution stuff, so I should now be able to produce
hyperlinks for this kind of construct.
Let me look at this. Previously this was hard to do, but I recently
rewrote the scope resolution stuff, so I should now be able to produce
hyperlinks for this kind of construct.
OK - the latest CVS now supports linking into methods in other classes.
Hm. I’m stil not getting hyperlinks. I got the cvs, but an example like
this doesn’t yield a link:
class MyClass
def foo; end
See MyClass#foo
def bar; end
end
The rdoc command I’m using is simply ‘rdoc t.rb’, where t.rb is just the
code above.
$ rdoc -v
RDoc Vgs: 2003/08/22 12:33:37 (1.72)
···
On Tuesday, Sep 23, 2003, at 08:14 Europe/Copenhagen, Dave Thomas wrote:
and I have a little problem.
I got the basics working just fine. ruby loads, and executes code, and I catch
any errors.
So far so good.
But I have a few questions:
Is there any way to uninitialize the interpreter if I want to unload it ?
is there any way to have more than one instance of ruby, or at least is
there a way to have several seperated namespaces/Bindings at the same time
running so I have several global namespaces for different instances. I looked
through the docs and didnt find anything.