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.
184 185 186 |
# File 'lib/roo/excelx.rb', line 184 def bold @bold end |
#italic ⇒ Object
Returns the value of attribute italic.
184 185 186 |
# File 'lib/roo/excelx.rb', line 184 def italic @italic end |
#underline ⇒ Object
Returns the value of attribute underline.
184 185 186 |
# File 'lib/roo/excelx.rb', line 184 def underline @underline end |
Instance Method Details
#bold? ⇒ Boolean
186 187 188 |
# File 'lib/roo/excelx.rb', line 186 def bold? @bold == true end |
#italic? ⇒ Boolean
190 191 192 |
# File 'lib/roo/excelx.rb', line 190 def italic? @italic == true end |
#underline? ⇒ Boolean
194 195 196 |
# File 'lib/roo/excelx.rb', line 194 def underline? @underline == true end |