Class: TaskJuggler::RichTextImage
- Defined in:
- lib/taskjuggler/RichText/Element.rb
Instance Attribute Summary collapse
-
#altText ⇒ Object
Returns the value of attribute altText.
-
#fileName ⇒ Object
readonly
Returns the value of attribute fileName.
-
#verticalAlign ⇒ Object
Returns the value of attribute verticalAlign.
Instance Method Summary collapse
-
#initialize(fileName) ⇒ RichTextImage
constructor
A new instance of RichTextImage.
Constructor Details
#initialize(fileName) ⇒ RichTextImage
Returns a new instance of RichTextImage.
26 27 28 29 30 |
# File 'lib/taskjuggler/RichText/Element.rb', line 26 def initialize(fileName) @fileName = fileName @altText = nil @verticalAlign = nil end |
Instance Attribute Details
#altText ⇒ Object
Returns the value of attribute altText.
24 25 26 |
# File 'lib/taskjuggler/RichText/Element.rb', line 24 def altText @altText end |
#fileName ⇒ Object (readonly)
Returns the value of attribute fileName.
23 24 25 |
# File 'lib/taskjuggler/RichText/Element.rb', line 23 def fileName @fileName end |
#verticalAlign ⇒ Object
Returns the value of attribute verticalAlign.
24 25 26 |
# File 'lib/taskjuggler/RichText/Element.rb', line 24 def verticalAlign @verticalAlign end |