Categories: IRB [Edit]

hirb

https://rubygems.org/gems/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.

Total

Ranking: 1,389 of 188,174
Downloads: 28,836,025

Daily

Ranking: 1,799 of 188,166
Downloads: 5,173

Depended by

RankDownloadsName
3,8412,721,444churn
4,6981,625,175trailblazer-developer
4,7421,601,513hirb-unicode
5,0381,386,426td
5,4011,176,999hirb-unicode-steakknife
7,696523,397irbtools
7,933489,605sensu-cli
8,452422,839method_profiler
10,703253,378pt
12,030200,308roda-component
12,146196,100brightbox-cli
12,715179,280jazz_hands
12,830176,284metamri
13,648155,977dtk-client
13,898150,400bl
14,020148,012spirit_hands
14,830133,511appjam
14,830133,511appjam
16,204113,288poise-boiler
16,854105,944codebase

Depends on

RankDownloadsName
61882,237,012mocha
8,229450,429bacon
12,326191,217mocha-on-bacon
60,95317,026bacon-bits

Owners

#GravatarHandle
1iconcldwalker