Sha256: 508bc8c5118ed8dd1105406a711ddbbc4cc159c012dc7fe53255983d684ddf7b
Contents?: true
Size: 1.05 KB
Versions: 6
Compression:
Stored size: 1.05 KB
Contents
require 'xmlss/style/base' module Xmlss::Style class Interior def self.writer; :interior; end include Enumeration enum :pattern, { :none => "None", :solid => "Solid", :gray75 => "Gray75", :gray50 => "Gray50", :gray25 => "Gray25", :gray125 => "Gray125", :gray0625 => "Gray0625", :horz_stripe => "HorzStripe", :vert_stripe => "VertStripe", :reverse_diag_stripe => "ReverseDiagStripe", :diag_stripe => "DiagStripe", :diag_cross => "DiagCross", :thick_diag_cross => "ThickDiagCross", :thin_horz_stripe => "ThinHorzStripe", :thin_vert_stripe => "ThinVertStripe", :thin_reverse_diag_stripe => "ThinReverseDiagStripe", :thin_diag_stripe => "ThineDiagStripe", :thin_horz_cross => "ThinHorzCross", :thin_diag_cross => "ThinDiagCross" } attr_accessor :color, :pattern_color def initialize(attrs={}) self.color = attrs[:color] self.pattern = attrs[:pattern] self.pattern_color = attrs[:pattern_color] end end end
Version data entries
6 entries across 6 versions & 1 rubygems