Registry / utility / indentation

indentation

JSON →
library0.1.1rbrubygemsunverified

Extensions to Ruby's Array and String classes for indentation manipulation.

gem install indentation
INSTALL
IMPORT
SIG · INDENTATION
I
indentation
utilityrubyv0.1.1
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.

Indentation
require 'indentation'

Indent a multi-line string by 4 spaces

require 'indentation' puts "hello\nworld".indent(4) # => " hello\n world"
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
indentation — gem install indentation · libregistry