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,287 of 183,139
Downloads: 25,539,005

Daily

Ranking: 1,632 of 183,127
Downloads: 6,708

Depended by

RankDownloadsName
3,6452,460,479churn
4,4471,483,704hirb-unicode
4,7291,298,374td
4,8191,232,080trailblazer-developer
4,9691,141,984hirb-unicode-steakknife
7,118484,205irbtools
7,211472,625sensu-cli
8,069383,395method_profiler
10,195233,466pt
11,514182,836roda-component
11,683177,715brightbox-cli
11,792174,901jazz_hands
12,022168,750metamri
13,195142,355dtk-client
13,272140,863bl
13,471136,628spirit_hands
14,105125,763appjam
14,105125,763appjam
15,643104,753poise-boiler
15,862102,238debbie

Depends on

RankDownloadsName
62768,481,323mocha
7,552424,447bacon
12,125166,133mocha-on-bacon
60,80215,469bacon-bits

Owners

#GravatarHandle
1iconcldwalker