Adds a .joined method to Array
Do you know to_sentence from Rails?
This gem does exactly the same, but without Rails.
require 'joined'
puts ['orange', 'banana', 'pear'].joined
Prints:
orange, banana, and pear
That's it.
How to contribute
Read these guidelines. Make sure your build is green before you contribute your pull request. You will need to have Ruby 3.0+ and Bundler installed. Then:
bundle update
bundle exec rake
If it's clean and you don't see any error messages, submit your pull request.