Sha256: 9f78d23406c1d08169cf0faff7907975fbc1d1aadd89555bf5f081023367e947

Contents?: true

Size: 158 Bytes

Versions: 11

Compression:

Stored size: 158 Bytes

Contents

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
split-2.1.0 lib/split/extensions/array.rb
split-2.0.0 lib/split/extensions/array.rb
split-1.7.0 lib/split/extensions/array.rb
split-1.6.0 lib/split/extensions/array.rb
split-1.5.0 lib/split/extensions/array.rb
split-1.4.5 lib/split/extensions/array.rb
split-1.4.4 lib/split/extensions/array.rb
split-1.4.3 lib/split/extensions/array.rb
split-1.4.2 lib/split/extensions/array.rb
split-1.4.1 lib/split/extensions/array.rb
split-1.4.0 lib/split/extensions/array.rb