season-formats gem - read / parse and print seasons (e.g. 2020/21)
Hello, I have put together (extracted really) a little helper class
for seasons and bundled up in the season-formats gem / library
for easy (re)use that lets you read / parse and print seasons (using an academic e.g. 2020/21 or calendar year e.g. 2020). Cheers. Prost. PS: Bonus, yes you can use the new Season class with ruby’s built-in ranges too e.g. Season( '2010/11' )..Season( '2020/21' )
Post a comment