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.



183
184
185
# File 'lib/roo/excelx.rb', line 183

def bold
  @bold
end

#italicObject

Returns the value of attribute italic.



183
184
185
# File 'lib/roo/excelx.rb', line 183

def italic
  @italic
end

#underlineObject

Returns the value of attribute underline.



183
184
185
# File 'lib/roo/excelx.rb', line 183

def underline
  @underline
end

Instance Method Details

#bold?Boolean

Returns:

  • (Boolean)


185
186
187
# File 'lib/roo/excelx.rb', line 185

def bold?
  @bold == true
end

#italic?Boolean

Returns:

  • (Boolean)


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

def italic?
  @italic == true
end

#underline?Boolean

Returns:

  • (Boolean)


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

def underline?
  @underline == true
end