diff options
author | Diego Carrion <dc.rec1@gmail.com> | 2011-02-19 21:13:07 -0200 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2011-02-19 23:24:30 -0200 |
commit | b0da0dd8345b68a4e54c52e398cc65bbc0c4fbb5 (patch) | |
tree | afa3ac149ebd946cf4ecff1571fcf078247075ac /activesupport/lib/active_support/core_ext/range.rb | |
parent | 289cc15f1a89a179116f67e5f666f4ff6d645f03 (diff) | |
download | rails-b0da0dd8345b68a4e54c52e398cc65bbc0c4fbb5.tar.gz rails-b0da0dd8345b68a4e54c52e398cc65bbc0c4fbb5.tar.bz2 rails-b0da0dd8345b68a4e54c52e398cc65bbc0c4fbb5.zip |
added Range#count? for Ruby 1.8
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Diffstat (limited to 'activesupport/lib/active_support/core_ext/range.rb')
-rw-r--r-- | activesupport/lib/active_support/core_ext/range.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/core_ext/range.rb b/activesupport/lib/active_support/core_ext/range.rb index c0736f3a44..2428a02242 100644 --- a/activesupport/lib/active_support/core_ext/range.rb +++ b/activesupport/lib/active_support/core_ext/range.rb @@ -2,3 +2,4 @@ require 'active_support/core_ext/range/blockless_step' require 'active_support/core_ext/range/conversions' require 'active_support/core_ext/range/include_range' require 'active_support/core_ext/range/overlaps' +require 'active_support/core_ext/range/cover' |