Module: AnkiTranslator

Defined in:
lib/vocab-to-anki.rb,
lib/vocab_to_anki/version.rb,
lib/vocab_to_anki/references.rb,
lib/vocab_to_anki/cards_helper.rb,
lib/vocab_to_anki/configuration.rb,
lib/vocab_to_anki/references/merriam_webster.rb,
lib/vocab_to_anki/references/google_translate.rb,
lib/vocab_to_anki/references/macmillan_dictionary.rb

Defined Under Namespace

Modules: References Classes: CardsHelper, Configuration, Error

Constant Summary collapse

VERSION =
"0.2.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



36
37
38
# File 'lib/vocab-to-anki.rb', line 36

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



38
39
40
41
# File 'lib/vocab-to-anki.rb', line 38

def configure
  self.configuration ||= Configuration.new
  yield(configuration)
end