string_enhancer_mm 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +8 -0
- data/lib/string_enhancer/version.rb +1 -1
- data/lib/string_enhancer.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00cf1332439a221c42660762189b407df6f01a006a6cdace11d804758ae918c9
|
4
|
+
data.tar.gz: 6f321889bb4667edddde7b4f62abe45d149361e732b11be881b80eb06dbd8024
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9dfd2fdd0da06d39e00e1de342b9788a6fa3951cc889077b6ed2b5e41483f0431dd72f1494fc5f3bace8c6fd414699e0ab4368a3e67ebee7ff4b5f2e6fa61fe0
|
7
|
+
data.tar.gz: d8c665e0f23900a02773ca6005a1a9b3467f6a1dfe0f0578cb38c0b0529846011f317b6dc7ba92c95db5c0b448446d041e59fc8445252caf84e9aac94c06712c
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -2,6 +2,14 @@
|
|
2
2
|
|
3
3
|
The Stringhancer gem extends the Ruby string class with additional methods for formatting, manipulating and querying – making string handling in Ruby even more powerful.
|
4
4
|
|
5
|
+
## Methods
|
6
|
+
- 'titleize': capitalizes each word.
|
7
|
+
- 'palindrome?': checks if the word is a palindrome.
|
8
|
+
- 'hello_world': outputs "Hello, world!".
|
9
|
+
- 'str_to_char_array': spilts string into array of characters.
|
10
|
+
- 'str_to_word_array': splits a string into an array of words.
|
11
|
+
- 'word_count': counts words in string.
|
12
|
+
|
5
13
|
## Installation
|
6
14
|
|
7
15
|
TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
|
data/lib/string_enhancer.rb
CHANGED