{"id":79752,"library":"text-format","title":"Text::Format","description":"Text::Format provides the ability to nicely format fixed-width text with knowledge of the writeable space (number of columns), margins, and indentation settings.","status":"active","version":"1.0.0","language":"ruby","source_language":null,"source_url":null,"tags":["text","formatting","wrapping"],"install":[{"cmd":"gem install text-format","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'text-format', '~> 1.0.0'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"Text::Format","correct":"require 'text/format'"}],"quickstart":{"code":"require 'text/format'\n\nformatter = Text::Format.new(columns: 40)\nformatted = formatter.format(\"This is a long line that will be wrapped to 40 columns.\")","lang":"ruby","description":"Format text to a specified column width with margins and indentation."},"warnings":[],"env_vars":null,"search_vec":"'abil':7 'column':23 'fix':12 'fixed-width':11 'format':2,4,10,29 'indent':26 'knowledg':16 'margin':24 'nice':9 'number':21 'provid':5 'set':27 'space':20 'text':1,3,14,28 'width':13 'wrap':30 'writeabl':19","created_at":"2026-06-18T05:00:50.502569+00:00","updated_at":"2026-06-18T05:00:50.502569+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://rubyforge.org/projects/text-format","github":null,"docs":"http://www.rubydoc.info/gems/text-format/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-18","next_check":"2026-12-15","install_tag":null}}