wordsoup 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wordsoup/version.rb +1 -1
- data/lib/wordsoup.rb +2 -9
- 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: 186721c4f5d63aa2e89be4ed62321bfb57cc5285
|
4
|
+
data.tar.gz: 42972e9839dad34163d873b5b3ccaab5ecb30ebd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8b1b3663040f6cf3f4eda8c0a6ee1e1f5c87f75df3876bb6bfe8e70de085198b42ef6ed42c7a77a5fcb7e85b4787b0da5cf6c71e2db3296695e4b6c49c0572b
|
7
|
+
data.tar.gz: 1b718e24bf197ec807eaf3dff4428608c80ff76f1fab838775134b66f7d6247e17150ea47ffcb17e6e7f943fd06838d669b1462f782098b803e1a64d5080702f
|
data/lib/wordsoup/version.rb
CHANGED
data/lib/wordsoup.rb
CHANGED
@@ -85,22 +85,15 @@ module Wordsoup
|
|
85
85
|
|
86
86
|
class Hemingway < Author
|
87
87
|
|
88
|
-
def initialize(file =
|
88
|
+
def initialize(file = File.join( File.dirname(__FILE__), './omats.txt'))
|
89
89
|
super(file)
|
90
90
|
end
|
91
91
|
|
92
92
|
end
|
93
93
|
|
94
|
-
class Hemingway < Author
|
95
|
-
|
96
|
-
def initialize(file = "omats.txt")
|
97
|
-
super(file)
|
98
|
-
end
|
99
|
-
|
100
|
-
end
|
101
94
|
class Bible < Author
|
102
95
|
|
103
|
-
def initialize(file =
|
96
|
+
def initialize(file = File.join( File.dirname(__FILE__), './bible.txt'))
|
104
97
|
super(file)
|
105
98
|
end
|
106
99
|
|