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,232
Downloads: 28,869,260

Daily

Ranking: 1,657 of 188,218
Downloads: 12,632

Depended by

RankDownloadsName
3,8512,723,145churn
4,6941,629,969trailblazer-developer
4,7441,603,404hirb-unicode
5,0391,387,909td
5,4041,177,609hirb-unicode-steakknife
7,697523,990irbtools
7,943489,872sensu-cli
8,457423,165method_profiler
10,700254,227pt
12,027200,756roda-component
12,146196,391brightbox-cli
12,720179,330jazz_hands
12,830176,529metamri
13,650156,293dtk-client
13,901150,659bl
14,021148,158spirit_hands
14,834133,697appjam
14,834133,697appjam
16,202113,466poise-boiler
16,861106,043codebase

Depends on

RankDownloadsName
61982,397,054mocha
8,232450,728bacon
12,325191,481mocha-on-bacon
60,95017,045bacon-bits

Owners

#GravatarHandle
1iconcldwalker