
Security News
CISA’s 2025 SBOM Guidance Adds Hashes, Licenses, Tool Metadata, and Context
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
io-line.rb is an IO library that can reuse one or more lines of output.
The implementation uses the
io-console
library from Ruby's stdlib.
The following example counts from 1 up to 100. The number from the previous
iteration is replaced with a number from the current iteration, and the same
line is reused until the iteration is completed. It is possible to end the
current line, and move onto the next line with the IO::Line#end
method:
require "io/line"
line = IO::Line.new($stdout)
1.upto(100) do |number|
line.rewind.print(number)
sleep 0.1
end
line.end
A complete API reference is available at 0x1eef.github.io/x/io-line.rb
io-line.rb can be installed via rubygems.org:
gem install io-line.rb
FAQs
Unknown package
We found that io-line.rb demonstrated a not healthy version release cadence and project activity because the last version was released 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
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.