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.
229 230 231 |
# File 'lib/roo/excelx.rb', line 229 def bold @bold end |
#italic ⇒ Object
Returns the value of attribute italic.
229 230 231 |
# File 'lib/roo/excelx.rb', line 229 def italic @italic end |
#underline ⇒ Object
Returns the value of attribute underline.
229 230 231 |
# File 'lib/roo/excelx.rb', line 229 def underline @underline end |
Instance Method Details
#bold? ⇒ Boolean
231 232 233 |
# File 'lib/roo/excelx.rb', line 231 def bold? @bold == true end |
#italic? ⇒ Boolean
235 236 237 |
# File 'lib/roo/excelx.rb', line 235 def italic? @italic == true end |
#underline? ⇒ Boolean
239 240 241 |
# File 'lib/roo/excelx.rb', line 239 def underline? @underline == true end |