RubyGems
npm
Organizations
Log in
Sign up
RubyGems
wordcloud
Versions diffs
0.0.8 → 0.0.9
wordcloud 0.0.8 → 0.0.9
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/wordcloud.rb
+1
-1
metadata
+1
-1
data/lib/wordcloud.rb
CHANGED
Viewed
@@ -12,7 +12,7 @@ class WordCloud
12
12
docnum = 0
13
13
@input.each do |i|
14
14
i.each do |j|
15
-
if j[1] != nil && j[1].is_a? String
15
+
if
(
j[1] != nil
)
&&
(
j[1].is_a? String
)
16
16
splitinput = j[1].split(" ")
17
17
splitinput.each do |w|
18
18
if w.include? "\\n"
metadata
CHANGED
Viewed
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: wordcloud
3
3
version: !ruby/object:Gem::Version
4
-
version: 0.0.
8
4
+
version: 0.0.
9
5
5
prerelease:
6
6
platform: ruby
7
7
authors: