Sha256: 737d534b56dc85fae8de0e1f27308a931b455b10feef8227746e538ef28e159e
Contents?: true
Size: 439 Bytes
Versions: 1
Compression:
Stored size: 439 Bytes
Contents
require_relative 'card_collection' require_relative 'user_interface' module LanguageCards class LanguageCards def initialize @CARDS = {} Dir[File.join(File.expand_path(File.join('..','..','..'), __FILE__), 'cards', '*.yml')].each do |c| @CARDS.merge!(YAML.load(File.open(c).read)) end @CARDS = CardCollection.new @CARDS end def start UserInterface.new.start(@CARDS) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
language_cards-0.0.3 | lib/language_cards/language_cards.rb |