Class: RubyXL::BorderEdge
Instance Attribute Summary
#local_namespaces
Instance Method Summary
collapse
#==, #before_write_xml, included, #index_in_collection, #initialize, #write_xml
Instance Method Details
permalink
#get_rgb_color ⇒ Object
[View source]
13
14
15
|
# File 'lib/rubyXL/objects/border.rb', line 13
def get_rgb_color
color && color.rgb
end
|
permalink
#set_rgb_color(font_color) ⇒ Object
[View source]
9
10
11
|
# File 'lib/rubyXL/objects/border.rb', line 9
def set_rgb_color(font_color)
self.color = RubyXL::Color.new(:rgb => font_color.to_s)
end
|