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.
215 216 217 |
# File 'lib/roo/excelx.rb', line 215 def bold @bold end |
#italic ⇒ Object
Returns the value of attribute italic.
215 216 217 |
# File 'lib/roo/excelx.rb', line 215 def italic @italic end |
#underline ⇒ Object
Returns the value of attribute underline.
215 216 217 |
# File 'lib/roo/excelx.rb', line 215 def underline @underline end |
Instance Method Details
#bold? ⇒ Boolean
217 218 219 |
# File 'lib/roo/excelx.rb', line 217 def bold? @bold == true end |
#italic? ⇒ Boolean
221 222 223 |
# File 'lib/roo/excelx.rb', line 221 def italic? @italic == true end |
#underline? ⇒ Boolean
225 226 227 |
# File 'lib/roo/excelx.rb', line 225 def underline? @underline == true end |