[#3006] mismatched quotation — "stevan apter" <apter@...>

ruby documentation uses a punctuation convention i've never seen

13 messages 2000/05/27

[ruby-talk:02814] www.rubycentral.com - Reference

From: "Michael Neumann" <neumann@...>
Date: 2000-05-14 20:32:46 UTC
List: ruby-talk #2814
Hello...


I (perhaps) found some errors in the Reference at www.rubycentral.com.

In class "String" in section "instance methods":
    {:1595:*}:1595: str * anInteger -> aString
    {:1598:+}:1598: str + aString -> aNewString

What's the {:1595:*}....?


Alike in class "Dir" at the beginning:

[ ] Dir[ aString ] -> anArray
    {:0025:}:0025: **

some lines later:
    {:0035:}:0035:

At this point, how is it possible to get recusively files via Dir["...."] ?
With ** ? Is it included in Ruby 1.4.4?


Michael Neumann

In This Thread

Prev Next