Class: Lara::Models::NGGlossaryMatch
- Defined in:
- lib/lara/models/text.rb
Instance Attribute Summary collapse
-
#glossary ⇒ Object
readonly
Returns the value of attribute glossary.
-
#language ⇒ Object
readonly
Returns the value of attribute language.
-
#term ⇒ Object
readonly
Returns the value of attribute term.
-
#translation ⇒ Object
readonly
Returns the value of attribute translation.
Instance Method Summary collapse
-
#initialize(glossary:, language:, term:, translation:) ⇒ NGGlossaryMatch
constructor
A new instance of NGGlossaryMatch.
Methods inherited from Base
Constructor Details
#initialize(glossary:, language:, term:, translation:) ⇒ NGGlossaryMatch
Returns a new instance of NGGlossaryMatch.
33 34 35 36 37 38 39 |
# File 'lib/lara/models/text.rb', line 33 def initialize(glossary:, language:, term:, translation:) super() @glossary = glossary @language = language @term = term @translation = translation end |
Instance Attribute Details
#glossary ⇒ Object (readonly)
Returns the value of attribute glossary.
31 32 33 |
# File 'lib/lara/models/text.rb', line 31 def glossary @glossary end |
#language ⇒ Object (readonly)
Returns the value of attribute language.
31 32 33 |
# File 'lib/lara/models/text.rb', line 31 def language @language end |
#term ⇒ Object (readonly)
Returns the value of attribute term.
31 32 33 |
# File 'lib/lara/models/text.rb', line 31 def term @term end |
#translation ⇒ Object (readonly)
Returns the value of attribute translation.
31 32 33 |
# File 'lib/lara/models/text.rb', line 31 def translation @translation end |