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.



197
198
199
# File 'lib/roo/excelx.rb', line 197

def bold
  @bold
end

#italicObject

Returns the value of attribute italic.



197
198
199
# File 'lib/roo/excelx.rb', line 197

def italic
  @italic
end

#underlineObject

Returns the value of attribute underline.



197
198
199
# File 'lib/roo/excelx.rb', line 197

def underline
  @underline
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


199
200
201
# File 'lib/roo/excelx.rb', line 199

def bold?
  @bold == true
end

#italic?Boolean

Returns:

  • (Boolean)


203
204
205
# File 'lib/roo/excelx.rb', line 203

def italic?
  @italic == true
end

#underline?Boolean

Returns:

  • (Boolean)


207
208
209
# File 'lib/roo/excelx.rb', line 207

def underline?
  @underline == true
end