Worlddb/console - Try world.db w/ Interactive Ruby Console

Hello,

I’ve added support for the interactive Ruby console (irb) to the
open world database gem [1]. Use

 irb -r worlddb/console

and you’re ready to go.

Try

en = Country.find_by_key! 'en'
en.regions
en.cities

or

euro = Tag.find_by_key! 'euro'
euro.countries

and so on.

More info → GitHub - openmundi/world.db: Free open public domain world database 'n' schema for use in any (programming) language (e.g. uses plain text datasets)
Live demo → http://worlddb.herokuapp.com/tags

Cheers.

[1]
https://github.com/geraldb/world.db/blob/master/script/lib/worlddb/console.rb