All Projects → kevinstuffandthings → termichunk

kevinstuffandthings / termichunk

Licence: MIT License
Organize chunks of text within terminals

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to termichunk

sxp.rb
A universal S-expression parser for Ruby.
Stars: ✭ 49 (+308.33%)
Mutual labels:  rubygems
awesome-rails-security
A curated list of security resources for a Ruby on Rails application
Stars: ✭ 36 (+200%)
Mutual labels:  rubygems
afip bill
A small library to generate a bill's PDF
Stars: ✭ 19 (+58.33%)
Mutual labels:  rubygems
harvesting
Ruby wrapper for the Harvest API v2
Stars: ✭ 24 (+100%)
Mutual labels:  rubygems
sinator
Sinatra application generator
Stars: ✭ 19 (+58.33%)
Mutual labels:  rubygems
slack neuralyzer
Ruby gem for clean up messages and files on Slack.
Stars: ✭ 58 (+383.33%)
Mutual labels:  rubygems
fcmpush
Firebase Cloud Messaging API wrapper for Ruby, suppot HTTP v1 API including access_token auto refresh feature.
Stars: ✭ 44 (+266.67%)
Mutual labels:  rubygems
jquery-datatables
Jquery datatables ruby gems for assets pipeline
Stars: ✭ 73 (+508.33%)
Mutual labels:  rubygems
drunker
Distributed CLI runner on AWS CodeBuild
Stars: ✭ 22 (+83.33%)
Mutual labels:  rubygems
middleman-robots
middleman-robots is extension of Middleman. This extension create robots.txt by config.rb.
Stars: ✭ 33 (+175%)
Mutual labels:  rubygems
vultr.rb
Ruby bindings for VULTR API v2.
Stars: ✭ 47 (+291.67%)
Mutual labels:  rubygems
rubysec.github.io
Current home of rubysec.com
Stars: ✭ 25 (+108.33%)
Mutual labels:  rubygems
crm114.rb
[Retired] Ruby interface to the CRM114 Controllable Regex Mutilator.
Stars: ✭ 29 (+141.67%)
Mutual labels:  rubygems
material-sass
A rubygem of Material Design for Bootstrap 4
Stars: ✭ 55 (+358.33%)
Mutual labels:  rubygems
ebnf
EBNF parser and generic parser generator for Ruby.
Stars: ✭ 101 (+741.67%)
Mutual labels:  rubygems
tss-rb
A Ruby implementation of Threshold Secret Sharing (Shamir) as defined in IETF Internet-Draft draft-mcgrew-tss-03.txt
Stars: ✭ 22 (+83.33%)
Mutual labels:  rubygems
gemdiff
Find source repositories for ruby gems. Open, compare, and update outdated gem versions
Stars: ✭ 116 (+866.67%)
Mutual labels:  rubygems
codice fiscale
A Ruby gem that calculates the Italian Tax ID (Codice Fiscale)
Stars: ✭ 17 (+41.67%)
Mutual labels:  rubygems
maloss
Towards Measuring Supply Chain Attacks on Package Managers for Interpreted Languages
Stars: ✭ 46 (+283.33%)
Mutual labels:  rubygems
ruby-sensor
💎 Ruby Distributed Tracing & Metrics Sensor for Instana
Stars: ✭ 23 (+91.67%)
Mutual labels:  rubygems

TermiChunk Build Status Gem Version

Take large chunks of text that might otherwise run together, and organize them neatly within your terminal output.

Originally developed for Simulmedia.

Installation

Add this line to your application's Gemfile:

# update with the version of your choice
gem 'termichunk'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install termichunk

Usage

Create reports. Nest them within each other. Bring sanity to your outputs.

report = TermiChunk::Report.new(title: 'My Report')
report << 'Line one goes in here'
report << 'Another line here!'
puts report

┌─[ My Report ]──────────
 Line one goes in here
 Another line here!
└─[ My Report ]──────────

puts(TermiChunk::Report.new(title: 'AMAZING', padding: 1) do |parent|
  parent << 'I can write some stuff here'
  parent << report
end)

┌─[ AMAZING ]────────────────────

  I can write some stuff here

  ┌─[ My Report ]──────────
   Line one goes in here
   Another line here!
  └─[ My Report ]──────────


└─[ AMAZING ]────────────────────

Problems?

Please submit an issue. We'll figure out how to get you up and running with TermiChunk as smoothly as possible.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].