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.
24 25 26 27 28 29 30 |
# File 'lib/lara/models/images.rb', line 24 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.
22 23 24 |
# File 'lib/lara/models/images.rb', line 22 def adapted_to_matches @adapted_to_matches end |
#glossaries_matches ⇒ Object (readonly)
Returns the value of attribute glossaries_matches.
22 23 24 |
# File 'lib/lara/models/images.rb', line 22 def glossaries_matches @glossaries_matches end |
#text ⇒ Object (readonly)
Returns the value of attribute text.
22 23 24 |
# File 'lib/lara/models/images.rb', line 22 def text @text end |
#translation ⇒ Object (readonly)
Returns the value of attribute translation.
22 23 24 |
# File 'lib/lara/models/images.rb', line 22 def translation @translation end |