Class: Excelx::Font

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#boldObject

Returns the value of attribute bold.



212
213
214
# File 'lib/roo/excelx.rb', line 212

def bold
  @bold
end

#italicObject

Returns the value of attribute italic.



212
213
214
# File 'lib/roo/excelx.rb', line 212

def italic
  @italic
end

#underlineObject

Returns the value of attribute underline.



212
213
214
# File 'lib/roo/excelx.rb', line 212

def underline
  @underline
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


214
215
216
# File 'lib/roo/excelx.rb', line 214

def bold?
  @bold == true
end

#italic?Boolean

Returns:

  • (Boolean)


218
219
220
# File 'lib/roo/excelx.rb', line 218

def italic? 
  @italic == true
end

#underline?Boolean

Returns:

  • (Boolean)


222
223
224
# File 'lib/roo/excelx.rb', line 222

def underline?
  @underline == true
end