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
#get_rgb_color ⇒ Object
14
15
16
|
# File 'lib/rubyXL/objects/border.rb', line 14
def get_rgb_color
color && color.rgb
end
|
#set_rgb_color(font_color) ⇒ Object
10
11
12
|
# File 'lib/rubyXL/objects/border.rb', line 10
def set_rgb_color(font_color)
self.color = RubyXL::Color.new(:rgb => font_color.to_s)
end
|