Sha256: d13e222ba0c0e711784d4f3dbc0591a70df3cac3d17fa2a25e0b1916b8c1e8f7

Contents?: true

Size: 230 Bytes

Versions: 5

Compression:

Stored size: 230 Bytes

Contents

require 'gorillib/array/simple_statistics'

class Array

  #
  # DEPRECATED -- use #uniq_nths(num)
  # (#sample is already a method on Array, so this name is confusing)
  #
  def sorted_sample(num)
    sorted_nths(num)
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gorillib-0.6.0 lib/gorillib/deprecated/array/sorted_sample.rb
gorillib-0.5.2 lib/gorillib/deprecated/array/sorted_sample.rb
gorillib-0.5.0 lib/gorillib/deprecated/array/sorted_sample.rb
gorillib-0.4.2 lib/gorillib/deprecated/array/sorted_sample.rb
gorillib-0.4.2pre lib/gorillib/deprecated/array/sorted_sample.rb