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.

gem install text-format
INSTALL
IMPORT
SIG · TEXT-FORMAT
T
text-format
utilityrubyv1.0.0
harness data pending
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.

Text::Format
✓ 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 issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources
text-format — gem install text-format · libregistry