blob: 27718f19d44841986b41804a4bca4c8bfb033f6d (
plain) (
tree)
|
|
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
|