An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

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.

Ecosystem
rubygems.org
Latest Release
0.7.3
almost 12 years ago
Versions
31
Downloads
32,217,024 total
Dependent Packages
183
Dependent Repos
16,220
Links
Registry rubygems.org
Homepage Homepage
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:gem/hirb
spec
License MIT
First Release over 17 years ago
Last Synced about 9 hours ago
Repository
Docker Dependents 136
Docker Downloads 48,187,190
Rankings on rubygems.org
Overall Top 0.5%
Downloads Top 0.6%
Dependent packages Top 0.2%
Dependent repos Top 0.3%
Docker downloads Top 0.9%