Sha256: 9c9e402509a2475da24dff00ca69b633f05b03e806a7cbe8089767f113b1f139

Contents?: true

Size: 63 Bytes

Versions: 14

Compression:

Stored size: 63 Bytes

Contents

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

Version data entries

14 entries across 14 versions & 3 rubygems

Version Path
faker19-1.0.5 lib/extensions/array.rb
faker19-1.0.4 lib/extensions/array.rb
faker19-1.0.3 lib/extensions/array.rb
faker19-1.0.2 lib/extensions/array.rb
faker19-1.0.1 lib/extensions/array.rb
faker19-1.0.0 lib/extensions/array.rb
faker-fakeme-0.10.0 lib/extensions/array.rb
faker-fakeme-0.9.9 lib/extensions/array.rb
faker-fakeme-0.9.8 lib/extensions/array.rb
faker-fakeme-0.9.7 lib/extensions/array.rb
faker-fakeme-0.9.6 lib/extensions/array.rb
faker-fakeme-0.1.1 lib/extensions/array.rb
faker-fakeme-0.9.5 lib/extensions/array.rb
faker-0.9.5 lib/extensions/array.rb