S
Simon Strandgaard
irb(main):001:0> %w(a b c).firstxyz)
=> ["a", "b", "c"]
irb(main):002:0> %w(a b c).lastxyz)
=> ["a", "b", "c"]
This seems inconsistent to me. I would expect a TypeError.
=> ["a", "b", "c"]
irb(main):002:0> %w(a b c).lastxyz)
=> ["a", "b", "c"]
This seems inconsistent to me. I would expect a TypeError.