Class: Roo::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.



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

def bold
  @bold
end

#italicObject

Returns the value of attribute italic.



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

def italic
  @italic
end

#underlineObject

Returns the value of attribute underline.



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

def underline
  @underline
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


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

def bold?
  @bold == true
end

#italic?Boolean

Returns:

  • (Boolean)


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

def italic?
  @italic == true
end

#underline?Boolean

Returns:

  • (Boolean)


225
226
227
# File 'lib/roo/excelx.rb', line 225

def underline?
  @underline == true
end