string_language 0.0.801 → 0.0.802
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/lib/string_helpers.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfbf08861cbb6f198563cea2087f191db32d0e45
|
4
|
+
data.tar.gz: 24b1a7d2f04d63d4d2c24920cf767e97cf3b457f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7209003d20b7c92b2bad9adbf09f6e9f35b84915bff440fb6ff63f58b66d81bebf6981f777d30f3d323216f4272b0c7bce955d048b4fc6154746d0ded3c49e6
|
7
|
+
data.tar.gz: 84b430c450139a75f517fb98fb324561665cc7dc528c143c20adcac210fc1869f08a1ba7ff0a90da4670ba98ab3fc07b37dc9bc1fdec6b2e5f61440639cb50a7
|
data/lib/string_helpers.rb
CHANGED
@@ -4,7 +4,7 @@ module StringHelpers
|
|
4
4
|
|
5
5
|
step1 = equalize_interpunction( stringA, stringB )
|
6
6
|
step2 = equalize_surrounding_space( step1, stringB )
|
7
|
-
step3 = equalize_capitalization(
|
7
|
+
step3 = equalize_capitalization( step2, stringB )
|
8
8
|
end
|
9
9
|
|
10
10
|
private
|
@@ -55,6 +55,7 @@ module StringHelpers
|
|
55
55
|
|
56
56
|
end
|
57
57
|
|
58
|
+
puts StringHelpers::equalize( "b", " a " )
|
58
59
|
# Quick Testing
|
59
60
|
=begin
|
60
61
|
a = "Hallo (Dit is een, enigzins, wel (test) 'van' de spacing)!"
|