Package Usage: rubygems: hirb
Hirb provides a mini view framework for console applications and uses it to improve ripl(irb)'s default inspect output. Given an object or array of objects, hirb renders a view based on the object's class and/or ancestry. Hirb offers reusable views in the form of helper classes. The two main helpers, Hirb::Helpers::Table and Hirb::Helpers::Tree, provide several options for generating ascii tables and trees. Using Hirb::Helpers::AutoTable, hirb has useful default views for at least ten popular database gems i.e. Rails' ActiveRecord::Base. Other than views, hirb offers a smart pager and a console menu. The smart pager only pages when the output exceeds the current screen size. The menu is used in conjunction with tables to offer two dimensional menus.
31 versions
Latest release: over 10 years ago
183 dependent packages
25,027,906 downloads total
View more package details: https://packages.ecosystem.code.gouv.fr/registries/rubygems.org/packages/hirb
Dependent Repos 4
etalab/retos-civicos Fork of CodeandoMexico/retos-civicos
Size: 15.6 MB - Last synced: about 6 hours ago - Pushed: over 8 years ago

etalab/rncs_worker_api_entreprise 📦
API pour récupérer et mettre à disposition les données du Répertoire National du Commerce et des SociétéSize: 1.18 MB - Last synced: about 6 hours ago - Pushed: about 2 years ago

etalab/sirene_as_api
Une API pour le fichier sireneSize: 8.42 MB - Last synced: about 6 hours ago - Pushed: almost 2 years ago
