Sha256: 781d87dc38f7522d43fe6aa2565ec4739fb5d408b7afd9bbaa61d868fee5bde8

Contents?: true

Size: 236 Bytes

Versions: 4

Compression:

Stored size: 236 Bytes

Contents

require 'language_cards/modes/game'
module LanguageCards
  module Modes
    class TypingPractice < Game
      def match? input
        "#{current}" == input
      end

      def mode
        :typing_practice
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
language_cards-0.3.2 lib/language_cards/modes/typing_practice.rb
language_cards-0.3.1 lib/language_cards/modes/typing_practice.rb
language_cards-0.3.0 lib/language_cards/modes/typing_practice.rb
language_cards-0.2.0 lib/language_cards/modes/typing_practice.rb