[#3006] mismatched quotation — "stevan apter" <apter@...>

ruby documentation uses a punctuation convention i've never seen

13 messages 2000/05/27

[ruby-talk:02653] Re: Append alias for Array.append?

From: matz@... (Yukihiro Matsumoto)
Date: 2000-05-09 08:45:32 UTC
List: ruby-talk #2653
Hi,

In message "[ruby-talk:02651] Append alias for Array.append?"
    on 00/05/09, Aleksi Niemel<aleksi.niemela@cinnober.com> writes:

|Some reason there's no Array.append? Or, let me rephrase, should there exist
|append as an alias to push.

Python's append works like this.

  a = []
  a.append(1,2,3)
  a  #=> [(1,2,3)]

Do you think it's OK for append to be alias to push?

							matz.

In This Thread