string-indent 0.0.0 → 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/string/indent.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 202a714a9f552ee877a9a21be50ec8518c089867efe29f3ab6b276e2b524703e
4
- data.tar.gz: d8f7630a5da70020d8870372dd042ee16aa5676d1c03638da85a4b269c3188be
3
+ metadata.gz: 512c0ab9fb1b77a35c96170633b9921cebcff1772b857739c7b1c1d84c9bb58f
4
+ data.tar.gz: eccf2028545055ee57ffeadc230f9ac3e87ac81b3e5c70c7de9ad2a95ec35994
5
5
  SHA512:
6
- metadata.gz: 9d4a145fe2aa030b0d466d77ce547a02b1b2a3e760af78492c72d9a6ef0f3b17ad6c547431708d95550018264fec611ecfb49d8ea65f460e3b419bd21d8d8c13
7
- data.tar.gz: 851f33f623f0e037360506bc464ae83fb710856d1ad9811a0392fb6f8c98c1d696d52d5de855e71f9a945977a4821aaf9afa2b920a157ca2cc29e1113559ccb1
6
+ metadata.gz: 9f302cb4bb20c57987adf7d746b599f3cb9b52e93837f8383167d84984d26764017408e09eb74d180de39f0f4baf921c516f48fd2e4423406d264487bebfe9f7
7
+ data.tar.gz: 8221e55ac835d7310a82e7ffe5c80c78d37a321642e0f793dcb71896ac27168b401f5ba62eeacdf3c1207ab3c8b6a4ecd6f12236ca0d81902440340e00d7cfc0
@@ -1,6 +1,6 @@
1
1
  class String
2
2
  def indent number_of_chars, char = ' '
3
3
  indentation = char * number_of_chars
4
- lines.map { |line| "#{indentantation}#{line}" }.join
4
+ lines.map { |line| "#{indentation}#{line}" }.join
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: string-indent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anatoly Chernow