Class: Translatomatic::Model::Text

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/translatomatic/model/text.rb

Overview

Text database record. Used to store translations in the database.

Instance Method Summary collapse

Instance Method Details

#translated?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/translatomatic/model/text.rb', line 14

def translated?
  !from_text_id.nil?
end