RubyGems Navigation menu

hirb 0.6.0

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.

Gemfile:
= Copier Copié!

installation:
=

Versions:

  1. 0.7.3 - January 23, 2015 (45 ko)
  2. 0.7.2 - May 27, 2014 (45 ko)
  3. 0.7.1 - January 25, 2013 (44,5 ko)
  4. 0.7.0 - July 07, 2012 (44 ko)
  5. 0.6.2 - March 19, 2012 (44 ko)
  6. 0.6.0 - November 28, 2011 (43 ko)
Voir toutes les versions (31)

Dépendances de Development (4):

bacon >= 1.1.0
bacon-bits >= 0
mocha >= 0.9.8
mocha-on-bacon >= 0.1.1

Propriétaires:

Auteurs:

  • Gabriel Horner

Total de contrôle SHA 256:

6a5b504a10e97e39279be88b52a12cccc10b36a20f2026903f038943ad7dc740

Total de téléchargements 23 661 256

Pour cette version 147 315

License:

aucune

Version de Ruby requise: None

Required Rubygems Version: >= 1.3.5

Liens: