
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
visual_array
Advanced tools
The gem is available here VisualArrayGem
VisualArray is a Ruby gem that displays arrays in a structured, visually appealing tabular format. It supports 1D, 2D, and multi-dimensional arrays with options for customizing text color.
Add this line to your application's Gemfile:
bundle add visual_array
Or install it manually:
gem install visual_array
require 'visual_array'
VisualArray.display([1, 2, 3, 4])
Output:
+---+---+---+---+
| 1 | 2 | 3 | 4 |
+---+---+---+---+
VisualArray.display([
[1, 2],
[3, 4]
])
Output:
+-----+-----+
| 1 | 2 |
| 3 | 4 |
+-----+-----+
VisualArray.display([[[1, 2], [3, 4]], [[5, 6], [7, 8]]])
Output:
Dimension 1, Index 0:
+-----+-----+
| 1 | 2 |
| 3 | 4 |
+-----+-----+
Dimension 1, Index 1:
+-----+-----+
| 5 | 6 |
| 7 | 8 |
+-----+-----+
You can pass optional color parameter:
VisualArray.display(
[[[1, 2], [3, 4]], [[5, 6], [7, 8]]],
color: 'blue'
)
After checking out the repo, run:
bin/setup
to install dependencies. Use bin/console for an interactive session.
To install this gem locally:
bundle exec rake install
To release a new version:
version.rb.bundle exec rake release
This will create a git tag, push commits, and publish the gem to RubyGems.
Bug reports and pull requests are welcome at GitHub.
This project is available under the MIT License.
FAQs
Unknown package
We found that visual_array demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.