Class: AnkiTranslator::References::Translation

Inherits:
Struct
  • Object
show all
Defined in:
lib/vocab_to_anki/references.rb

Instance Attribute Summary collapse

Instance Attribute Details

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



5
6
7
# File 'lib/vocab_to_anki/references.rb', line 5

def source
  @source
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



5
6
7
# File 'lib/vocab_to_anki/references.rb', line 5

def text
  @text
end