Class: Lara::Models::NGMemoryMatch
Instance Attribute Summary collapse
-
#language ⇒ Object
readonly
Returns the value of attribute language.
-
#memory ⇒ Object
readonly
Returns the value of attribute memory.
-
#sentence ⇒ Object
readonly
Returns the value of attribute sentence.
-
#translation ⇒ Object
readonly
Returns the value of attribute translation.
-
#tuid ⇒ Object
readonly
Returns the value of attribute tuid.
Instance Method Summary collapse
-
#initialize(memory:, language:, sentence:, translation:, tuid: nil) ⇒ NGMemoryMatch
constructor
A new instance of NGMemoryMatch.
Methods inherited from Base
Constructor Details
#initialize(memory:, language:, sentence:, translation:, tuid: nil) ⇒ NGMemoryMatch
Returns a new instance of NGMemoryMatch.
20 21 22 23 24 25 26 27 |
# File 'lib/lara/models/text.rb', line 20 def initialize(memory:, language:, sentence:, translation:, tuid: nil) super() @memory = memory @tuid = tuid @language = language @sentence = sentence @translation = translation end |
Instance Attribute Details
#language ⇒ Object (readonly)
Returns the value of attribute language.
18 19 20 |
# File 'lib/lara/models/text.rb', line 18 def language @language end |
#memory ⇒ Object (readonly)
Returns the value of attribute memory.
18 19 20 |
# File 'lib/lara/models/text.rb', line 18 def memory @memory end |
#sentence ⇒ Object (readonly)
Returns the value of attribute sentence.
18 19 20 |
# File 'lib/lara/models/text.rb', line 18 def sentence @sentence end |
#translation ⇒ Object (readonly)
Returns the value of attribute translation.
18 19 20 |
# File 'lib/lara/models/text.rb', line 18 def translation @translation end |
#tuid ⇒ Object (readonly)
Returns the value of attribute tuid.
18 19 20 |
# File 'lib/lara/models/text.rb', line 18 def tuid @tuid end |