RubyGems Navigation menu

hirb 0.7.1

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.

Versions:

  1. 0.7.3 - January 23, 2015 (45 KB)
  2. 0.7.2 - May 27, 2014 (45 KB)
  3. 0.7.1 - January 25, 2013 (44.5 KB)
  4. 0.7.0 - July 7, 2012 (44 KB)
  5. 0.6.2 - March 19, 2012 (44 KB)
Show all versions (31 total)

Authors:

  • Gabriel Horner

Owners:

8f0660cdc9f5d91c7d97456f8f0be8c7

Sha 256 checksum:

5a0e5cab058aedff79944c354d40bb05cfd972a18d9fe6a51d42306553bcee18

Total downloads 2,338,296

For this version 803,457

Show all versions (31 total)

Required Ruby Version: None

Licenses:

MIT

Gemfile:
= Copy to clipboard Copied!

install:
= Copy to clipboard Copied!

Links: