Class: RubyXL::Border
Overview
Instance Method Summary
collapse
#==, #before_write_xml, included, #index_in_collection, #initialize, #write_xml
Instance Method Details
#get_edge_style(direction) ⇒ Object
25
26
27
28
|
# File 'lib/rubyXL/objects/border.rb', line 25
def get_edge_style(direction)
edge = self.send(direction)
edge && edge.style
end
|
#set_edge_style(direction, style) ⇒ Object
30
31
32
|
# File 'lib/rubyXL/objects/border.rb', line 30
def set_edge_style(direction, style)
self.send("#{direction}=", RubyXL::BorderEdge.new(:style => style))
end
|