Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

simple_tabler

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple_tabler

  • 0.1.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Simple Tabler

Simple Tabler helps you to make a table in Terminal

It can be used as a gem.(https://rubygems.org/gems/simple_tabler)

Installation

Add simple_tabler to your Gemfile.

gem 'simple_tabler', '~> 0.1.0'

Usage

First of all, you should import the module Simple Tabler.

require "simple_tabler"

Now, you can create a table from an array like blow.

a = [
  [
    "ABCDE_Mail",
    "example@example.com",
    "abcdefg_" * 10
  ],
  [
    "XYZ_TV",
    "Taro Yamada",
    "qwerty" * 10
  ]
]

puts a.generate_table(["Service", "username", "password"], 30)

#|============================================================================================|
#|Service                       |username                      |password                      |
#|============================================================================================|
#|ABCDE_Mail                    |example@example.com           |abcdefg_abcdefg_abcdefg_abcdef|
#|                              |                              |g_abcdefg_abcdefg_abcdefg_abcd|
#|                              |                              |efg_abcdefg_abcdefg_          |
#|--------------------------------------------------------------------------------------------|
#|XYZ_TV                        |Taro Yamada                   |qwertyqwertyqwertyqwertyqwerty|
#|                              |                              |qwertyqwertyqwertyqwertyqwerty|
#|                              |                              |                              |
#|--------------------------------------------------------------------------------------------|

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/Takahashi-Riki/simple_tabler.

License

The gem is available as open source under the terms of the MIT License.

FAQs

Package last updated on 30 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc