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.

factbook gem & factbook.json 2020 Update - 260+ World Country Profiles / Datasets

Hello, Time flies! After some years I have finally updated the world factbook.json datasets and the “chrome-less” country profile web pages using the latest online country profile pages from the Official CIA World Factbook website. The web page structure has changed a little so I have updated the factbook page parser too - packaged up in the factbook-reader gem / library for easy (re)use. If you find anything of notice in the updated datasets, pages, parser, etc. please tell. Happy exploring the world. Cheers. Prost. PS: Geo Quiz: What’s the name of the country? ______ Hint: The country is landlocked; strategic location at the crossroads of central Europe with many easily traversable Alpine passes and valleys; major river is the Danube; population is concentrated on eastern lowlands because of steep slopes, poor soils, and low temperatures elsewhere.

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