Class: TaskJuggler::RichTextImage

Inherits:
Object
  • Object
show all
Defined in:
lib/taskjuggler/RichText/Element.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#altTextObject

Returns the value of attribute altText.



24
25
26
# File 'lib/taskjuggler/RichText/Element.rb', line 24

def altText
  @altText
end

#fileNameObject (readonly)

Returns the value of attribute fileName.



23
24
25
# File 'lib/taskjuggler/RichText/Element.rb', line 23

def fileName
  @fileName
end

#verticalAlignObject

Returns the value of attribute verticalAlign.



24
25
26
# File 'lib/taskjuggler/RichText/Element.rb', line 24

def verticalAlign
  @verticalAlign
end