ensenar 0.0.1 → 0.0.2

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.
Files changed (2) hide show
  1. data/lib/ensenar.rb +4 -5
  2. metadata +1 -1
data/lib/ensenar.rb CHANGED
@@ -26,14 +26,13 @@ class Ensenar
26
26
  end
27
27
  end
28
28
  if l == text.length
29
- break
29
+ x = rand(@words.length)
30
+ y = rand(@words[x].length)
31
+ scope = @words[x][y]
32
+ text << @words[x][y]
30
33
  else
31
34
  next
32
35
  end
33
36
  end
34
- if text.length < length
35
- text << "... ummm..."
36
- end
37
- return text.join(" ")
38
37
  end
39
38
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ensenar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: