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.
82 83 84 |
# File 'lib/roo/excel2003xml.rb', line 82 def bold @bold end |
#italic ⇒ Object
Returns the value of attribute italic.
82 83 84 |
# File 'lib/roo/excel2003xml.rb', line 82 def italic @italic end |
#underline ⇒ Object
Returns the value of attribute underline.
82 83 84 |
# File 'lib/roo/excel2003xml.rb', line 82 def underline @underline end |
Instance Method Details
#bold? ⇒ Boolean
84 85 86 |
# File 'lib/roo/excel2003xml.rb', line 84 def bold? @bold == 'bold' end |
#italic? ⇒ Boolean
88 89 90 |
# File 'lib/roo/excel2003xml.rb', line 88 def italic? @italic == 'italic' end |
#underline? ⇒ Boolean
92 93 94 |
# File 'lib/roo/excel2003xml.rb', line 92 def underline? @underline != nil end |