Class: Excelx::Font
- Inherits:
-
Object
- Object
- 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.
212 213 214 |
# File 'lib/roo/excelx.rb', line 212 def bold @bold end |
#italic ⇒ Object
Returns the value of attribute italic.
212 213 214 |
# File 'lib/roo/excelx.rb', line 212 def italic @italic end |
#underline ⇒ Object
Returns the value of attribute underline.
212 213 214 |
# File 'lib/roo/excelx.rb', line 212 def underline @underline end |
Instance Method Details
#bold? ⇒ Boolean
214 215 216 |
# File 'lib/roo/excelx.rb', line 214 def bold? @bold == true end |
#italic? ⇒ Boolean
218 219 220 |
# File 'lib/roo/excelx.rb', line 218 def italic? @italic == true end |
#underline? ⇒ Boolean
222 223 224 |
# File 'lib/roo/excelx.rb', line 222 def underline? @underline == true end |