filler 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/gem.gemspec +1 -1
- data/lib/filler/filler_helper.rb +3 -4
- data/lib/filler.rb +12 -4
- metadata +2 -2
data/gem.gemspec
CHANGED
data/lib/filler/filler_helper.rb
CHANGED
data/lib/filler.rb
CHANGED
@@ -4,16 +4,24 @@ require 'filler/filler_helper.rb'
|
|
4
4
|
module Filler
|
5
5
|
class << self
|
6
6
|
|
7
|
+
@words = []
|
8
|
+
|
9
|
+
def initialize
|
10
|
+
write_out
|
11
|
+
end
|
12
|
+
|
13
|
+
private
|
7
14
|
def write_out
|
8
15
|
@words = get_text
|
9
16
|
@words.each do |word|
|
10
|
-
puts word
|
17
|
+
puts word
|
11
18
|
end
|
12
19
|
end
|
13
|
-
|
14
|
-
|
20
|
+
|
21
|
+
def get_text
|
22
|
+
|
15
23
|
def get_text
|
16
|
-
@w = Filler::Words.
|
24
|
+
@w = Filler::Words.output_words
|
17
25
|
end
|
18
26
|
end
|
19
27
|
end
|