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.



188
189
190
# File 'lib/roo/excelx.rb', line 188

def bold
  @bold
end

#italicObject

Returns the value of attribute italic.



188
189
190
# File 'lib/roo/excelx.rb', line 188

def italic
  @italic
end

#underlineObject

Returns the value of attribute underline.



188
189
190
# File 'lib/roo/excelx.rb', line 188

def underline
  @underline
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


190
191
192
# File 'lib/roo/excelx.rb', line 190

def bold?
  @bold == true
end

#italic?Boolean

Returns:

  • (Boolean)


194
195
196
# File 'lib/roo/excelx.rb', line 194

def italic? 
 @italic == true
end

#underline?Boolean

Returns:

  • (Boolean)


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

def underline?
  @underline == true
end