Sha256: 38526fcf1b2393c2f41696c7e2806792e6094db0cf1b5692044aca4ff554d903

Contents?: true

Size: 68 Bytes

Versions: 10

Compression:

Stored size: 68 Bytes

Contents

class Array
  def rand
    self[Kernel.rand(self.length)]
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
fathom-0.3.7 lib/ext/array.rb
fathom-0.3.6 lib/ext/array.rb
fathom-0.3.4 lib/ext/array.rb
fathom-0.3.3 lib/ext/array.rb
fathom-0.3.2 lib/ext/array.rb
fathom-0.3.1 lib/ext/array.rb
fathom-0.3.0 lib/fathom/ext/array.rb
fathom-0.2.3 lib/fathom/ext/array.rb
fathom-0.2.2 lib/fathom/ext/array.rb
fathom-0.2.1 lib/fathom/ext/array.rb