lib/core/facets/array/indexable.rb in facets-2.0.2 vs lib/core/facets/array/indexable.rb in facets-2.0.3
- old
+ new
@@ -2,10 +2,15 @@
require 'facets/array/splice'
class Array
include Indexable
- #alias / []
+ #--
+ # Maybe not appropriate for indexable.rb, but where?
+ #++
+ alias_method :contains?, :include?
+
+ #alias_method :/, :[]
# Alias for shift, which removes and returns
# the first element in an array.
#
# a = ["a","y","z"]