Registry / utility / text-format

text-format

JSON →
library1.0.0rbrubygemsunverified

Text::Format provides the ability to nicely format fixed-width text with knowledge of the writeable space (number of columns), margins, and indentation settings.

utility
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.

require 'text/format'

Format text to a specified column width with margins and indentation.

require 'text/format' formatter = Text::Format.new(columns: 40) formatted = formatter.format("This is a long line that will be wrapped to 40 columns.")
Debug
Known footguns

No known footguns recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
0 hits · last 30 days

No traffic data recorded yet.

Resources