lib/core/facets/array/indexable.rb in facets-2.4.5 vs lib/core/facets/array/indexable.rb in facets-2.5.0

- old
+ new

@@ -10,21 +10,21 @@ # # a = ["a","y","z"] # a.first! #=> "a" # p a #=> ["y","z"] # - # CREDIT: Trans + # CREDIT: Trans alias_method :first!, :shift # Alias for pop, which removes and returns # the last element in an array. # # a = [1,2] # a.last! 3 # p a #=> [1,2,3] # - # CREDIT: Trans + # CREDIT: Trans alias_method :last!, :pop # #