Sha256: bf37306b6012ff9c8f4c8d2b08cb0d7da68d352cbaed00c0079e08f9146cb694

Contents?: true

Size: 127 Bytes

Versions: 20

Compression:

Stored size: 127 Bytes

Contents

class Array
  # maintain backwards compatibility with 1.8.7
  alias_method :sample, :choice unless method_defined?(:sample)
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
split-1.3.2 lib/split/extensions/array.rb
split-1.3.1 lib/split/extensions/array.rb
split-1.3.0 lib/split/extensions/array.rb
split-1.2.1 lib/split/extensions/array.rb
split-1.2.0 lib/split/extensions/array.rb
split-1.1.0 lib/split/extensions/array.rb
split-1.0.0 lib/split/extensions/array.rb
split-0.8.0 lib/split/extensions/array.rb
split-0.7.3 lib/split/extensions/array.rb
split-0.7.2 lib/split/extensions/array.rb
split-0.7.1 lib/split/extensions/array.rb
split-0.7.0 lib/split/extensions/array.rb
split-0.6.6 lib/split/extensions/array.rb
split-0.6.5 lib/split/extensions/array.rb
split-0.6.4 lib/split/extensions/array.rb
split-0.6.3 lib/split/extensions/array.rb
split-0.6.2 lib/split/extensions/array.rb
split-0.6.1 lib/split/extensions/array.rb
split-0.6.0 lib/split/extensions/array.rb
split-0.5.0 lib/split/extensions/array.rb