RubyGems Navigation menu

cli-tree 1.0.0

This library can be used to build a tree structure, and render or print it like an ASCII graph. It can be used to implement a directory tree printer or something like that. Example: require 'cli-tree' tree = TreeNode.new("root", [ TreeNode.new("foo", [ TreeNode.new("bar"), TreeNode.new("baz") ]) ]) puts tree.render # or simply tree.print Output: root └── foo ├── bar └── baz

Gemfile:
=

インストール:
=

バージョン履歴:

  1. 1.1.0 June 02, 2018 (7.5KB)
  2. 1.0.0 June 02, 2018 (6.5KB)

所有者:

作者:

  • physacco

SHA 256チェックサム:

=

累計ダウンロード数 18,663

このバージョンのみ 1,799

このバージョンがリリースされたのは:

ライセンス:

MIT

必要なRubyのバージョン: >= 2.0.0

リンク: