RubyGems
npm
Organizations
Log in
Sign up
RubyGems
syllables
Versions diffs
0.1.1 → 0.1.2
syllables 0.1.1 → 0.1.2
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/syllables.rb
+1
-1
metadata
+1
-1
data/lib/syllables.rb
CHANGED
@@ -23,7 +23,7 @@ class Syllables
23
23
24
24
len = 0
25
25
26
-
ending_matched = word[/(ing|io)$/]
26
+
ending_matched = word[/(ing|io
|yer
)$/]
27
27
if ending_matched then
28
28
len += 1
29
29
word = word[0..-(ending_matched.length)]
metadata
CHANGED
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: syllables
3
3
version: !ruby/object:Gem::Version
4
-
version: 0.1.
1
4
+
version: 0.1.
2
5
5
platform: ruby
6
6
authors: []
7
7