Class: Lara::Models::ImageParagraph
- Defined in:
- lib/lara/models/images.rb
Instance Attribute Summary collapse
-
#adapted_to_matches ⇒ Object
readonly
Returns the value of attribute adapted_to_matches.
-
#glossaries_matches ⇒ Object
readonly
Returns the value of attribute glossaries_matches.
-
#text ⇒ Object
readonly
Returns the value of attribute text.
-
#translation ⇒ Object
readonly
Returns the value of attribute translation.
Instance Method Summary collapse
-
#initialize(text:, translation:, adapted_to_matches: nil, glossaries_matches: nil) ⇒ ImageParagraph
constructor
A new instance of ImageParagraph.
Methods inherited from Base
Constructor Details
#initialize(text:, translation:, adapted_to_matches: nil, glossaries_matches: nil) ⇒ ImageParagraph
Returns a new instance of ImageParagraph.
11 12 13 14 15 16 17 |
# File 'lib/lara/models/images.rb', line 11 def initialize(text:, translation:, adapted_to_matches: nil, glossaries_matches: nil) super() @text = text @translation = translation @adapted_to_matches = adapted_to_matches @glossaries_matches = glossaries_matches end |
Instance Attribute Details
#adapted_to_matches ⇒ Object (readonly)
Returns the value of attribute adapted_to_matches.
9 10 11 |
# File 'lib/lara/models/images.rb', line 9 def adapted_to_matches @adapted_to_matches end |
#glossaries_matches ⇒ Object (readonly)
Returns the value of attribute glossaries_matches.
9 10 11 |
# File 'lib/lara/models/images.rb', line 9 def glossaries_matches @glossaries_matches end |
#text ⇒ Object (readonly)
Returns the value of attribute text.
9 10 11 |
# File 'lib/lara/models/images.rb', line 9 def text @text end |
#translation ⇒ Object (readonly)
Returns the value of attribute translation.
9 10 11 |
# File 'lib/lara/models/images.rb', line 9 def translation @translation end |