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 187,922
Downloads: 28,713,213

Daily

Ranking: 1,723 of 187,912
Downloads: 10,430

Depended by

RankDownloadsName
3,8292,713,376churn
4,7011,610,626trailblazer-developer
4,7301,595,313hirb-unicode
5,0291,382,532td
5,3931,174,703hirb-unicode-steakknife
7,683520,913irbtools
7,915488,527sensu-cli
8,430421,504method_profiler
10,694251,605pt
12,034198,768roda-component
12,143194,884brightbox-cli
12,687178,996jazz_hands
12,821175,670metamri
13,653154,800dtk-client
13,887149,572bl
14,014147,304spirit_hands
14,822132,814appjam
14,822132,814appjam
16,184112,654poise-boiler
16,825105,484codebase

Depends on

RankDownloadsName
62581,436,034mocha
8,204448,889bacon
12,325189,929mocha-on-bacon
60,88216,952bacon-bits

Owners

#GravatarHandle
1iconcldwalker