I am working on a Ruby logger. (Yes, yet another logger! But this one is different. Really!).
For logging an array (or array-like object), the method could be either
The former seems more straightforward, but the latter describes more closely what the method actually does.
Similarly, for logging a hash-like object, the method could be either
What's the right thing in these cases, do you think?