language_cards 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/language_cards/language_cards.rb +2 -1
- data/lib/language_cards/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: 786919e457693647473cd092c6961215bddc833d
|
4
|
+
data.tar.gz: fe91348cb373f79008e06e4288cdb7a90c8d4663
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02c6e75fe6e8eaa86ad653111f80958b358da3245d3c3366ac5ea178b125e3e7bc4f8d4bbb178df0d300bcd30d0dd5712dcdfde45aae2d3313251e56018e7805
|
7
|
+
data.tar.gz: 65222c75d7fa2a4fd3eeca3f15952b59eec5623164d43bef4f97f849c3737c4e595c7197b98b4d057771187aae759c6ab0ac4155944f8e17de5143221df2801b
|
@@ -5,7 +5,8 @@ module LanguageCards
|
|
5
5
|
class LanguageCards
|
6
6
|
def initialize
|
7
7
|
@CARDS = {}
|
8
|
-
|
8
|
+
|
9
|
+
Dir[File.join(File.expand_path(File.join('..','..','..'), __FILE__), 'cards', '*.yml')].each do |c|
|
9
10
|
@CARDS.merge!(YAML.load(File.open(c).read))
|
10
11
|
end
|
11
12
|
@CARDS = CardCollection.new @CARDS
|