D
Daniel Berger
Hi all,
Ruby 1.8.5
I thought you had to specially mark or tag methods in order for them to
be hyperlinked. However, it seems that a comment that contains a plain
word that happens to match a method name is hyperlinked to that method.
For example:
class Foo
# This is a test constant
XXX = 99
# I just want to use the word test here without it becoming a hyperlink
def test
puts "Hello"
end
end
The word 'test' in both cases ends up hyperlinked to the test method,
even though I don't want it to. It thought you had to write it as
Foo#test, or use 'link:', in order to get a hyperlink like that. Is this
a bug?
Regards,
Dan
Ruby 1.8.5
I thought you had to specially mark or tag methods in order for them to
be hyperlinked. However, it seems that a comment that contains a plain
word that happens to match a method name is hyperlinked to that method.
For example:
class Foo
# This is a test constant
XXX = 99
# I just want to use the word test here without it becoming a hyperlink
def test
puts "Hello"
end
end
The word 'test' in both cases ends up hyperlinked to the test method,
even though I don't want it to. It thought you had to write it as
Foo#test, or use 'link:', in order to get a hyperlink like that. Is this
a bug?
Regards,
Dan