lib/core/facets/array/index.rb in facets-2.6.0 vs lib/core/facets/array/index.rb in facets-2.7.0
- old
+ new
@@ -1,9 +1,11 @@
class Array
- if RUBY_VERSION < '1.9'
+ # CORE OVERRIDE
+ if RUBY_VERSION < '1.8.7'
+
alias_method :_facets_index, :index
# Allows #index to accept a block.
#
# OVERRIDE! This is one of the bery few core
@@ -18,5 +20,6 @@
end
end
end
+