satori_like_dictionary 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/satori_like_dictionary.rb +6 -0
- data/satori_like_dictionary.gemspec +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: ff981f709c11207187e4640ab7fae326abb08ba3
|
4
|
+
data.tar.gz: a88c4b18d06d7fc7cfcb24ad5375ea250b11f17b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d5f4723792a3e2fde9b6b1c3b21a21a6b173a22ab0f5d4b40519b9136f1f018c113857901a530efbdc580624253e7cf715821129823e65911a8a45dd2a57f2e
|
7
|
+
data.tar.gz: 6e5a2d365782241e41445b0aaf7140bf136908dcf4d7d0ce4d706fd3535c481ebd5b82138426aef46c0d54acf7a5b88e498fd40f17e4f6ccaae89037b28a6ac0
|
@@ -305,6 +305,12 @@ class SatoriLikeDictionaryIntegratedEvents
|
|
305
305
|
|
306
306
|
private
|
307
307
|
|
308
|
+
# parse and register satori like dictionary source
|
309
|
+
# @param [String] source satori like dictionary source
|
310
|
+
def parse_string(string)
|
311
|
+
@satori_like_dictionary.parse(string)
|
312
|
+
end
|
313
|
+
|
308
314
|
# load all files in a directory as satori like dictionaries
|
309
315
|
# @param [String] file path to file
|
310
316
|
def load_file(file)
|