General

Profile

gunn (Arthur Gunn)

  • Login: gunn
  • Email: arthur@gunn.co.nz
  • Registered on: 11/26/2010
  • Last sign in: 05/15/2011

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

01/14/2011

03:49 PM Ruby Feature #4247: New features for Array#sample, Array#choice
=begin
Like Benoit said, Array#choice does sound like it would return only one element, I very much like the proposal of:

p [1, 2, 3].sample(5, repeat: true) #=> [2, 2, 3, 1, 3]

I don't think the distinction between #sample...
gunn (Arthur Gunn)

11/27/2010

10:40 AM Ruby Bug #4091 (Closed): Ruby man page
=begin
I installed 1.9.2 recently and was reading through its man page. It seems to be a little out of date and contains some miss-spellings and awkward english.

I've attached a patch (also available at https://github.com/gunn/ruby...
gunn (Arthur Gunn)

Also available in: Atom