Sha256: 2d5a877c4ab711e434d92560fa8c5ddd3b994b71f969f11d4f593d13ca916563

Contents?: true

Size: 224 Bytes

Versions: 17

Compression:

Stored size: 224 Bytes

Contents

require 'spruz/shuffle'

module Spruz
  class ::Array
    if method_defined?(:shuffle)
      warn "#{self}#shuffle already defined, didn't include at #{__FILE__}:#{__LINE__}"
    else
      include Shuffle
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
spruz-0.2.13 lib/spruz/xt/shuffle.rb
spruz-0.2.12 lib/spruz/xt/shuffle.rb
spruz-0.2.11 lib/spruz/xt/shuffle.rb
spruz-0.2.10 lib/spruz/xt/shuffle.rb
spruz-0.2.9 lib/spruz/xt/shuffle.rb
spruz-0.2.8 lib/spruz/xt/shuffle.rb
spruz-0.2.7 lib/spruz/xt/shuffle.rb
spruz-0.2.6 lib/spruz/xt/shuffle.rb
spruz-0.2.5 lib/spruz/xt/shuffle.rb
spruz-0.2.2 lib/spruz/xt/shuffle.rb
spruz-0.2.1 lib/spruz/xt/shuffle.rb
spruz-0.2.0 lib/spruz/xt/shuffle.rb
spruz-0.1.5 lib/spruz/xt/shuffle.rb
spruz-0.1.3 lib/spruz/xt/shuffle.rb
spruz-0.1.2 lib/spruz/xt/shuffle.rb
spruz-0.1.1 lib/spruz/xt/shuffle.rb
spruz-0.1.0 lib/spruz/xt/shuffle.rb