whatimean 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/whatimean/version.rb +1 -1
- 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: fe3cfa7b9f4d75b27dd99d37e0b521f0c52acfeb
|
4
|
+
data.tar.gz: 735ddc3623ead0abc6085f67b168a25a23072a8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e7dd81301205d6428011ff466d8b29f3651775181740f3285a4d15cd79924c10b7c572d0dcb0d3e68b91230342e1e577f67b5b46439e0935b78aabb3a89aefa
|
7
|
+
data.tar.gz: 19cbafdbbd9392f029178aa125a802aba647d0f4de63db63eada9593e34d1a183e8f2a6a1253e1ba828b59f51682bfcba7e181a931a1aaf0e5415d6e0d9b35c4
|
data/README.md
CHANGED
@@ -35,13 +35,13 @@ end
|
|
35
35
|
You can now discover which word is the correct using:
|
36
36
|
|
37
37
|
``` ruby
|
38
|
-
WhatIMean.is
|
38
|
+
WhatIMean.is 'word1', 'word2'
|
39
39
|
```
|
40
40
|
|
41
41
|
To discover the winner, just:
|
42
42
|
|
43
43
|
``` ruby
|
44
|
-
word_fight = WhatIMean.is
|
44
|
+
word_fight = WhatIMean.is 'google', 'altavista'
|
45
45
|
word_fight.winner
|
46
46
|
|
47
47
|
#=> #<WhatIMean::Word:0x007ffcba4960d8 @name="google", @hits=824000000, @rate=0.9987031403396075>
|
@@ -50,7 +50,7 @@ word_fight.winner
|
|
50
50
|
To list the searched words:
|
51
51
|
|
52
52
|
``` ruby
|
53
|
-
word_fight = WhatIMean.is
|
53
|
+
word_fight = WhatIMean.is 'google', 'altavista'
|
54
54
|
word_fight.words
|
55
55
|
|
56
56
|
#=> [#<WhatIMean::Word:0x007ffcba4960d8 @name="google", @hits=824000000, @rate=0.9987031403396075>, #<WhatIMean::Word:0x007ffcba4ae750 @name="altavista", @hits=1070000, @rate=0.0012968596603924515>]
|
data/lib/whatimean/version.rb
CHANGED