Class: Roo::Excelx::Font
- Inherits:
-
Object
- Object
- Roo::Excelx::Font
- Defined in:
- lib/roo/excelx.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.
197 198 199 |
# File 'lib/roo/excelx.rb', line 197 def bold @bold end |
#italic ⇒ Object
Returns the value of attribute italic.
197 198 199 |
# File 'lib/roo/excelx.rb', line 197 def italic @italic end |
#underline ⇒ Object
Returns the value of attribute underline.
197 198 199 |
# File 'lib/roo/excelx.rb', line 197 def underline @underline end |
Instance Method Details
#bold? ⇒ Boolean
199 200 201 |
# File 'lib/roo/excelx.rb', line 199 def bold? @bold == true end |
#italic? ⇒ Boolean
203 204 205 |
# File 'lib/roo/excelx.rb', line 203 def italic? @italic == true end |
#underline? ⇒ Boolean
207 208 209 |
# File 'lib/roo/excelx.rb', line 207 def underline? @underline == true end |