Class: Roo::Font
- Inherits:
-
Object
- Object
- Roo::Font
- Defined in:
- lib/roo/font.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.
3 4 5 |
# File 'lib/roo/font.rb', line 3 def bold @bold end |
#italic ⇒ Object
Returns the value of attribute italic.
3 4 5 |
# File 'lib/roo/font.rb', line 3 def italic @italic end |
#underline ⇒ Object
Returns the value of attribute underline.
3 4 5 |
# File 'lib/roo/font.rb', line 3 def underline @underline end |
Instance Method Details
#bold? ⇒ Boolean
5 6 7 |
# File 'lib/roo/font.rb', line 5 def bold? @bold end |
#italic? ⇒ Boolean
9 10 11 |
# File 'lib/roo/font.rb', line 9 def italic? @italic end |
#underline? ⇒ Boolean
13 14 15 |
# File 'lib/roo/font.rb', line 13 def underline? @underline end |