* [Misc #15723] Reconsider numbered parameters * Reading from description, I think there are a few supporters of removing `@1`, `@2` in favor of just having `@` refer to the first argument. * I also believe having just `@` is enoug...sikachu (Prem Sichanugrist)
I would like to voice my support for only having `@` for the single argument as well. I think this should already cover majority of the use case, where we want to refer to the only argument that is being passed to the block. For me, t...sikachu (Prem Sichanugrist)
* [Feature #15725] Add `Array#reverse_sort`, `#revert_sort!`, `#reverse_sort_by`, and `#reverse_sort_by!` I would like to propose these methods as the preferred way for developers to create reverse sorted array, which is to call `sort...sikachu (Prem Sichanugrist)
Thank you for your initial feedback. I would like to quote one thing: > I myself usually use `.sort` and `.sort_by`, and then apply `.reverse` afterwards. That's definitely the reason why I submit this proposal, because `array.sort...sikachu (Prem Sichanugrist)
Hello, I would like to propose four new methods: `#reverse_sort`, `#revert_sort!`, `#reverse_sort_by`, and `#reverse_sort_by!` to Array. These methods provides the most efficient way for user to get a reversed sorted array by calli...sikachu (Prem Sichanugrist)
I actually like this idea. www.ruby-lang.org is actually a Jekyll site and it's repository is on GitHub at https://github.com/ruby/www.ruby-lang.org. Would you mind submit a pull request there to add those necessary meta tags? Than...sikachu (Prem Sichanugrist)
👍 I can confirm this bug exists in 2.5.0p0. Also, it seems like the number of spaces it's removing is based on the gutter size as well (which is expected?) ~~~ ruby # two spaces gutter, four leading spaces in literal <<~FOO tw...sikachu (Prem Sichanugrist)
> it may not be clear that Array#each_pair groups overlapping pairs vs. chunking elements Yeah, I think that's one reason I'm against an ambiguous method like this. I feel like `each_cons(2)` is already good for the job and more fitti...sikachu (Prem Sichanugrist)
I think the moderators have been pinged. However, due to time zone, we might not see any action until 12:00AM GMT given it's Saturday morning. Please enjoy this thread responsibly, and happy Friday! You've made it through another week! 🐱sikachu (Prem Sichanugrist)