Skip to content
This repository
branch: 3-2-stable
Fetching contributors…

Cannot retrieve contributors at this time

file 7 lines (6 sloc) 0.256 kb
1 2 3 4 5 6 7
class Array
  # The human way of thinking about adding stuff to the end of a list is with append
  alias_method :append, :<<

  # The human way of thinking about adding stuff to the beginning of a list is with prepend
  alias_method :prepend, :unshift
end
Something went wrong with that request. Please try again.