Sha256: cdf57a8652d2859d52ded5f799774886090fa39732209fc6bbde9d68263bc7d2

Contents?: true

Size: 218 Bytes

Versions: 6

Compression:

Stored size: 218 Bytes

Contents

require 'spruz/range_plus'

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spruz-0.2.13 lib/spruz/xt/range_plus.rb
spruz-0.2.12 lib/spruz/xt/range_plus.rb
spruz-0.2.11 lib/spruz/xt/range_plus.rb
spruz-0.2.10 lib/spruz/xt/range_plus.rb
spruz-0.2.9 lib/spruz/xt/range_plus.rb
spruz-0.2.8 lib/spruz/xt/range_plus.rb