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.
176 177 178 |
# File 'lib/roo/excelx.rb', line 176 def bold @bold end |
#italic ⇒ Object
Returns the value of attribute italic.
176 177 178 |
# File 'lib/roo/excelx.rb', line 176 def italic @italic end |
#underline ⇒ Object
Returns the value of attribute underline.
176 177 178 |
# File 'lib/roo/excelx.rb', line 176 def underline @underline end |
Instance Method Details
#bold? ⇒ Boolean
178 179 180 |
# File 'lib/roo/excelx.rb', line 178 def bold? @bold == true end |
#italic? ⇒ Boolean
182 183 184 |
# File 'lib/roo/excelx.rb', line 182 def italic? @italic == true end |
#underline? ⇒ Boolean
186 187 188 |
# File 'lib/roo/excelx.rb', line 186 def underline? @underline == true end |