Class: Roo::Font

Inherits:
Object
  • Object
show all
Defined in:
lib/roo/font.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#boldObject

Returns the value of attribute bold.



3
4
5
# File 'lib/roo/font.rb', line 3

def bold
  @bold
end

#italicObject

Returns the value of attribute italic.



3
4
5
# File 'lib/roo/font.rb', line 3

def italic
  @italic
end

#underlineObject

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

Returns:

  • (Boolean)


5
6
7
# File 'lib/roo/font.rb', line 5

def bold?
  @bold
end

#italic?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/roo/font.rb', line 9

def italic?
  @italic
end

#underline?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/roo/font.rb', line 13

def underline?
  @underline
end