Closed pusewicz closed 1 year ago
Date currently supports Ruby 2.6+. Endless methods weren't introduced until Ruby 3.0. So this would effectively drop support for Ruby 2.6 and 2.7. I don't think the tradeoff is worth it, but I'll leave the decision up to other maintainers. If you do want this considered, please update required_ruby_version
in the gemspec.
Ah, in that case, this PR makes no sense. I'll close it. Thank you, @jeremyevans, for the extra context I was missing!
Given that we can now use the end-less method definitions for these short methods, let use it. It removes extra characters, which means less text to parse when reading.