Sha256: 2e8c8b8a3c1e5d6f3906dfc4b33d17569534f0fcc7e5da75924fc01d4c5fb25b
Contents?: true
Size: 376 Bytes
Versions: 2
Compression:
Stored size: 376 Bytes
Contents
# frozen_string_literal: true module Goldendocx module Tables class HeaderCell < Cell def initialize(**attributes) super property.build_shading(value: :clear, color: :auto, fill: DEFAULT_BACKGROUND_COLOR) end def width=(width, type: :dxa) property.width.assign_attributes(width: width, type: type) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
goldendocx-0.2.3 | lib/goldendocx/tables/header_cell.rb |
goldendocx-0.2.2 | lib/goldendocx/tables/header_cell.rb |