Class: Excel2003XML::Font
- Inherits:
-
Object
- Object
- Excel2003XML::Font
- Defined in:
- lib/roo/excel2003xml.rb
Instance Attribute Summary collapse
-
#bold ⇒ Object
Returns the value of attribute bold.
-
#italic ⇒ Object
Returns the value of attribute italic.
-
#underline ⇒ Object
Returns the value of attribute underline.
Instance Method Summary collapse
Instance Attribute Details
#bold ⇒ Object
Returns the value of attribute bold.
87 88 89 |
# File 'lib/roo/excel2003xml.rb', line 87 def bold @bold end |
#italic ⇒ Object
Returns the value of attribute italic.
87 88 89 |
# File 'lib/roo/excel2003xml.rb', line 87 def italic @italic end |
#underline ⇒ Object
Returns the value of attribute underline.
87 88 89 |
# File 'lib/roo/excel2003xml.rb', line 87 def underline @underline end |
Instance Method Details
#bold? ⇒ Boolean
89 90 91 |
# File 'lib/roo/excel2003xml.rb', line 89 def bold? @bold == 'bold' end |
#italic? ⇒ Boolean
93 94 95 |
# File 'lib/roo/excel2003xml.rb', line 93 def italic? @italic == 'italic' end |
#underline? ⇒ Boolean
97 98 99 |
# File 'lib/roo/excel2003xml.rb', line 97 def underline? @underline != nil end |