Open zw963 opened 5 years ago
This is done with the index: false argument like so:
irb(main):023:0> ap [1,2,3,4], index: false
[
1,
2,
3,
4
]
=> nil
@Aeyk , Cool, i thought i read all document before create this issue, but, nowhere told me this usage?
Is there an global config for this?
in most case, i am not use ap directly, it just combind with pry, auto print returned _
value.
I do a quick hack for support config when setting Awesome.pry!(index: false)
If maintainer consider add this feature, i will add to Awesome.irb! too.
Thanks.
Would you consider to open a PR with this changes ?
And the same with irb!
.
that's could be awesome !
Thank you
Thanks