{"id":80604,"library":"heredoc-unindent","title":"HeredocUnindent","description":"Removes common margin from indented strings, such as those produced by indented heredocs.","status":"active","version":"1.2.0","language":"ruby","source_language":null,"source_url":"https://github.com/adrianomitre/heredoc_unindent","tags":["string","heredoc","indentation","utility"],"install":[{"cmd":"gem install heredoc_unindent","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'heredoc_unindent', '~> 1.2.0'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"HeredocUnindent","correct":"require 'heredoc_unindent'"}],"quickstart":{"code":"require 'heredoc_unindent'\n\n# Unindent a heredoc\nstr = <<-HEREDOC.unindent\n    Hello\n    World\nHEREDOC\nputs str # => \"Hello\\nWorld\\n\"","lang":"ruby","description":"Unindent a heredoc string"},"warnings":[],"env_vars":null,"search_vec":"'common':3 'heredoc':14,16 'heredocunind':1 'indent':6,13,17 'margin':4 'produc':11 'remov':2 'string':7,15 'util':18","created_at":"2026-06-18T05:28:45.048528+00:00","updated_at":"2026-06-18T05:28:45.048528+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":"https://github.com/adrianomitre/heredoc_unindent","github":"https://github.com/adrianomitre/heredoc_unindent","docs":"http://www.rubydoc.info/gems/heredoc_unindent/","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}}