Sha256: b936d9860ab3d5dd320a1b04cdcad1f5e36bd07f533cdca3db2f4bac5253919e
Contents?: true
Size: 540 Bytes
Versions: 2
Compression:
Stored size: 540 Bytes
Contents
require_relative 'table_cell_line' # Border Data module OoxmlParser class Border attr_accessor :style, :color def initialize(style = nil, color = nil) @style = style @color = color end def ==(other) return true if nil? && other.nil? return false if nil? && !other.nil? return false if !nil? && other.nil? return false if style != other.style return false if color != other.color true end def to_s "Border style: #{style}, color: #{color}" end end end
Version data entries
2 entries across 2 versions & 1 rubygems