General

Profile

nathanst (Nathan Stratton Treadway)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 6 6

Activity

06/13/2012

05:14 AM Ruby Bug #6488: String#slice example has a syntax error
=begin
zzak (Zachary Scott) wrote:
> I was unable to reproduce this with ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-linux] and rdoc 3.9.4
>
> Could be an issue with ruby-doc.org?
More specifically, it was a problem in ...
nathanst (Nathan Stratton Treadway)

06/07/2012

12:41 PM Ruby Bug #6553 (Closed): confusing use of "p " in String#start_with? documentation
The three code samples given for the starts_with?() method (for the String class) all start with "p ". This is the only code sample in that page that uses that idiom, and the examples show the values returned by the expressions using th... nathanst (Nathan Stratton Treadway)
07:56 AM Ruby Bug #6488: String#slice example has a syntax error
The references to the RDoc github commits don't show up as live links, so to save others the trouble of finding them, here are URLs for each:
https://github.com/rdoc/rdoc/commit/eaf2b80c
https://github.com/rdoc/rdoc/commit/0d72fc0d
nathanst (Nathan Stratton Treadway)

06/02/2012

03:55 PM Ruby Bug #6529 (Closed): missing words in description of =~ operator for Regexp
Currently the Regexp class documentation contains the following: "<tt>=~</tt> is Ruby's basic pattern-matching operator. When one operand is a regular expression and is a string (this operator is equivalently defined by Regexp and Strin... nathanst (Nathan Stratton Treadway)

06/01/2012

02:47 PM Ruby Bug #6526 (Closed): minor typo in Regexp class documentation
In the "Performance" section of the Regexp class documentation, the intro to the first sample code block says "Consider a string of 25 as, a d, 4 as, and a c."
However, as the return value given in that sample block makes clear, t...
nathanst (Nathan Stratton Treadway)
02:31 PM Ruby Bug #6525 (Closed): misleading example in Permformance section of Regexp documentation?
In the Performance section of the Regexp documention, it is stated that changing from Regexp.new('a?' * 29 + 'a' * 29) to Regexp.new('\A' 'a?' * 29 + 'a' * 29) speeds up the match significantly. However, '\A' 'a?' * 29 actually expands... nathanst (Nathan Stratton Treadway)
01:49 PM Ruby Bug #6524 (Closed): missing "#=>" in example block in Regexp class documentation
In the Regexp class documentation, "Performance" section, the code block that starts out "# Match a string of 29 <i>a</i>s against a pattern of 29 optional" seems to be the only block of sample code on the page which would return a valu... nathanst (Nathan Stratton Treadway)
06:48 AM Ruby Bug #6523 (Closed): typos/display errors in Regexp.html page
I was looking through the Regexp class documentation found at
http://www.ruby-doc.org/core-1.9.3/Regexp.html
... and found a number of problems that appeared to be either display issues or typos.
Most notably, throughout the entire ...
nathanst (Nathan Stratton Treadway)

Also available in: Atom