Sha256: d7ec56c7d8f6d210fdef5f3b1614752334f333341f65a31942e3cb94da2f95c4
Contents?: true
Size: 717 Bytes
Versions: 1
Compression:
Stored size: 717 Bytes
Contents
module Rocx module Properties class Underline < ComplexProperty include AttributeBuilder tag :u VALID_UNDERLINE_TYPES = %i(dash dashDotDotHeavy dashDotHeavy dashedHeavy dashLong dashLongHeavy dotDash dotDotDash dotted dottedHeavy double none single thick wave wavyDouble wavyHeavy words) attribute :color, expects: :hex_color attribute :theme_color, expects: :valid_theme_color attribute :theme_shade, expects: :hex_digit attribute :theme_tint, expects: :hex_digit attribute :type, expects: :valid_underline_type, displays_as: :val private def valid_underline_type(value) valid_in? value, VALID_UNDERLINE_TYPES end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rocx-0.5.8 | lib/rocx/properties/underline.rb |