Sha256: 326d3b726d1fcf8427222d873ff43e857d6196bd008f94c01d41040a3a356636
Contents?: true
Size: 365 Bytes
Versions: 1
Compression:
Stored size: 365 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:, type:) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
goldendocx-0.3.0 | lib/goldendocx/tables/header_cell.rb |