Registry / utility / heredoc-unindent

heredoc-unindent

JSON →
library1.2.0rbrubygemsunverified

Removes common margin from indented strings, such as those produced by indented heredocs.

gem install heredoc_unindent
INSTALL
IMPORT
SIG · HEREDOC-UNINDENT
H
heredoc-unindent
utilityrubyv1.2.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.

HeredocUnindent
require 'heredoc_unindent'

Unindent a heredoc string

require 'heredoc_unindent' # Unindent a heredoc str = <<-HEREDOC.unindent Hello World HEREDOC puts str # => "Hello\nWorld\n"
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Amazon
1
Resources
heredoc-unindent — gem install heredoc-unindent · libregistry