Class: Translatomatic::ConverterStats
- Inherits:
-
Object
- Object
- Translatomatic::ConverterStats
- Includes:
- Util
- Defined in:
- lib/translatomatic/converter_stats.rb
Overview
Translation statistics
Instance Attribute Summary collapse
-
#from_db ⇒ Number
readonly
The number of translations that came from the database.
-
#from_translator ⇒ Number
readonly
The number of translations that came from the translator.
-
#translations ⇒ Array<Translatomatic::Translation>
readonly
A list of all translations.
-
#untranslated ⇒ Number
readonly
The number of untranslated strings.
Instance Attribute Details
#from_db ⇒ Number (readonly)
Returns The number of translations that came from the database.
9 10 11 |
# File 'lib/translatomatic/converter_stats.rb', line 9 def from_db @from_db end |
#from_translator ⇒ Number (readonly)
Returns The number of translations that came from the translator.
12 13 14 |
# File 'lib/translatomatic/converter_stats.rb', line 12 def from_translator @from_translator end |
#translations ⇒ Array<Translatomatic::Translation> (readonly)
Returns A list of all translations.
6 7 8 |
# File 'lib/translatomatic/converter_stats.rb', line 6 def translations @translations end |
#untranslated ⇒ Number (readonly)
Returns The number of untranslated strings.
15 16 17 |
# File 'lib/translatomatic/converter_stats.rb', line 15 def untranslated @untranslated end |