Registry / utility / line-tree

line-tree

JSON →
library0.9.4rbrubygemsunverified

Line-tree parses indented lines of text and returns an array representing a tree structure.

gem install line-tree
INSTALL
IMPORT
SIG · LINE-TREE
L
line-tree
utilityrubyv0.9.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

LineTree
require 'line-tree'

Parses indented text into a tree structure.

require 'line-tree' tree = LineTree.parse("root\n child1\n child2") puts tree.inspect
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.9.4latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
line-tree — gem install line-tree · libregistry