Class: Roo::Excel2003XML::Font
- Inherits:
-
Object
- Object
- Roo::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.
65 66 67 |
# File 'lib/roo/excel2003xml.rb', line 65 def bold @bold end |
#italic ⇒ Object
Returns the value of attribute italic.
65 66 67 |
# File 'lib/roo/excel2003xml.rb', line 65 def italic @italic end |
#underline ⇒ Object
Returns the value of attribute underline.
65 66 67 |
# File 'lib/roo/excel2003xml.rb', line 65 def underline @underline end |
Instance Method Details
#bold? ⇒ Boolean
67 68 69 |
# File 'lib/roo/excel2003xml.rb', line 67 def bold? @bold == '1' end |
#italic? ⇒ Boolean
71 72 73 |
# File 'lib/roo/excel2003xml.rb', line 71 def italic? @italic == '1' end |
#underline? ⇒ Boolean
75 76 77 |
# File 'lib/roo/excel2003xml.rb', line 75 def underline? @underline != nil end |