Sha256: 9fdfcbf4b12759c478502128cf8551a27a9150906221e6267dea8c51ceb33f0d
Contents?: true
Size: 683 Bytes
Versions: 1
Compression:
Stored size: 683 Bytes
Contents
module Rocx module Properties class Border < ComplexProperty include AttributeBuilder attr_reader :tag attribute :color, expects: :hex_color attribute :frame, expects: :true_or_false attribute :shadow, expects: :true_or_false attribute :size, expects: :positive_integer, displays_as: :sz attribute :space, expects: :positive_integer attribute :theme_color, expects: :valid_theme_color attribute :theme_shade, expects: :hex_digit attribute :theme_tint, expects: :hex_digit attribute :type, expects: :valid_type, displays_as: :val def initialize(tag=:bdr) @tag = tag end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rocx-0.5.8 | lib/rocx/properties/border.rb |