General

Profile

CaryInVictoria (Cary Swoveland)

Issues

Activity

04/05/2019

12:22 AM Ruby master Misc #15744: Improvement needed to documentation of 'Literals'
shevegen (Robert A. Heiler) wrote:
...I don't know myself either...
Robert,
I was only musing about a how a "l...
CaryInVictoria (Cary Swoveland)

04/02/2019

05:34 PM Ruby master Misc #15744 (Open): Improvement needed to documentation of 'Literals'
Documentation of "Literals" for v2.6.0 is given here: https://docs.ruby-lang.org/en/2.6.0/syntax/literals_rdoc.html. ... CaryInVictoria (Cary Swoveland)

03/30/2019

06:39 PM Ruby master Misc #15739 (Open): Improvements needed to documentation of Hash#dig, Array#dig and OpenStruct#dig
The documentation of these three methods fails to explain how they interact. For example:
h = { a: [1,2,3] }
...
CaryInVictoria (Cary Swoveland)

12/23/2018

11:50 PM Ruby master Bug #15455: In v2.6.0 the return value of `each_with_object` and `each_object` is truncated when the object is a hash.
Corrected a <sub>tiny</sub> typo. CaryInVictoria (Cary Swoveland)
07:55 PM Ruby master Bug #15455 (Closed): In v2.6.0 the return value of `each_with_object` and `each_object` is truncated when the object is a hash.
RUBY VERSION: 2.6.0 (2018-12-23 patchlevel -1)
`a = [1, 2, 3]`
`a.each_with_object([]) #=> #<Enumerator: [1...
CaryInVictoria (Cary Swoveland)

12/21/2018

07:44 PM Ruby master Feature #15446: Add a method `String#each_match` to the Ruby core
Stefan, I've incorporated both of your suggestions. Thanks. CaryInVictoria (Cary Swoveland)
09:06 AM Ruby master Feature #15446 (Open): Add a method `String#each_match` to the Ruby core
`String#each_match` would have two forms:
*each_match(pattern) { |match| block } → str*
*each_match(pattern) → an...
CaryInVictoria (Cary Swoveland)
07:25 PM Ruby master Feature #15450 (Rejected): to be deleted
CaryInVictoria (Cary Swoveland)

10/28/2018

04:11 AM Ruby master Misc #15265 (Open): Documentation for `Object#instance_variable_set` is inaccurate and pejorative
The v2.5.1 documentation for this method states, in part, "Sets the instance variable named by symbol to the given ob... CaryInVictoria (Cary Swoveland)

10/23/2018

09:28 PM Ruby master Bug #15233: Speeding Up Matrix Powers
The O(ln n) method could be written as follows.
def pow1(m, n)
return m if n == 1
p = pow1(m, n/...
CaryInVictoria (Cary Swoveland)

Also available in: Atom