summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/stylesheet/border.rb
diff options
context:
space:
mode:
authorWeston Ganger <[email protected]>2022-02-05 15:39:05 -0800
committerGitHub <[email protected]>2022-02-06 00:39:05 +0100
commit196862524f94c58b1521ef84a6cf0397b411a685 (patch)
tree43903550e4eca508449f48026e9429474d2e75ad /lib/axlsx/stylesheet/border.rb
parentd3cf7bca5728b166c7643ad839efeba60ed0e256 (diff)
downloadcaxlsx-196862524f94c58b1521ef84a6cf0397b411a685.tar.gz
caxlsx-196862524f94c58b1521ef84a6cf0397b411a685.zip
Allow border style to accept an Array (#117)
Co-authored-by: Noel Peden <[email protected]>
Diffstat (limited to 'lib/axlsx/stylesheet/border.rb')
-rw-r--r--lib/axlsx/stylesheet/border.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/axlsx/stylesheet/border.rb b/lib/axlsx/stylesheet/border.rb
index 422a4466..0a823c7a 100644
--- a/lib/axlsx/stylesheet/border.rb
+++ b/lib/axlsx/stylesheet/border.rb
@@ -6,6 +6,8 @@ module Axlsx
include Axlsx::SerializedAttributes
include Axlsx::OptionsParser
+ EDGES = [:left, :right, :top, :bottom].freeze
+
# Creates a new Border object
# @option options [Boolean] diagonal_up
# @option options [Boolean] diagonal_down