RubyFlow The Ruby and Rails community linklog


The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Submit a post

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.


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' )

Where Do Ruby Blocks Come From?

It’s time to get reflective…time for some deep introspection…so light a candle or two, put some Barry White on the stereo, get nice and comfortable, because we’re going to talk about Blocks. Blocks in Ruby are powerful, and they’re used everywhere. But we’re not here to talk about how to write blocks per se or what they’re good for. We’re here to talk about where they come from.

Loading older posts