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.
189 190 191 |
# File 'lib/roo/excelx.rb', line 189 def bold @bold end |
#italic ⇒ Object
Returns the value of attribute italic.
189 190 191 |
# File 'lib/roo/excelx.rb', line 189 def italic @italic end |
#underline ⇒ Object
Returns the value of attribute underline.
189 190 191 |
# File 'lib/roo/excelx.rb', line 189 def underline @underline end |
Instance Method Details
#bold? ⇒ Boolean
191 192 193 |
# File 'lib/roo/excelx.rb', line 191 def bold? @bold == true end |
#italic? ⇒ Boolean
195 196 197 |
# File 'lib/roo/excelx.rb', line 195 def italic? @italic == true end |
#underline? ⇒ Boolean
199 200 201 |
# File 'lib/roo/excelx.rb', line 199 def underline? @underline == true end |