RubyGems Navigation menu

hirb 0.4.2

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.

版本列表:

  1. 0.7.3 - January 23, 2015 (45.0 KB)
  2. 0.7.2 - May 27, 2014 (45.0 KB)
  3. 0.7.1 - January 25, 2013 (44.5 KB)
  4. 0.7.0 - July 07, 2012 (44.0 KB)
  5. 0.6.2 - March 19, 2012 (44.0 KB)
  6. 0.4.2 - March 27, 2011 (43.0 KB)
显示所有 (31 个版本)

作者:

  • Gabriel Horner

所有者:

SHA 256 checksum:

c80b59857b8151a2505c88f865d885ce239ef5bfc812249877e1d2fa0f41e3f5

下载总次数 9,203,847

这个版本 2,600

Gemfile:
= 复制到剪贴板 已复制

安装:
=

许可s:

需要的 Ruby 版本:

需要的 RubyGems 版本: >= 1.3.5

相关链接: