RubyGems Navigation menu

hsume2-hirb 0.6.0.beta.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.6.3 - February 9, 2012 (43.5 KB)
  2. 0.6.2 - February 8, 2012 (43.5 KB)
  3. 0.6.1 - February 8, 2012 (43.5 KB)
  4. 0.6.0.beta.1 - February 8, 2012 (43.5 KB)

Authors:

  • Gabriel Horner

Owners:

7754ef0fda9734e8ff3b7981699a1af2

Total downloads 3,586

For this version 317

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'hsume2-hirb', '~> 0.6.0.beta.1' = Copy to clipboard Copied!

install:
gem install hsume2-hirb --pre = Copy to clipboard Copied!

Links: