Class: Rocx::Properties::Border

Inherits:
ComplexProperty show all
Defined in:
lib/rocx/properties/border.rb

Constant Summary

Constants included from AttributeBuilder

AttributeBuilder::VALID_THEME_COLORS, AttributeBuilder::VALID_TYPES

Instance Attribute Summary collapse

Attributes inherited from BaseProperty

#value

Instance Method Summary collapse

Methods inherited from ComplexProperty

#render?, #to_xml

Methods included from AttributeBuilder

#attributes, included, #render?

Methods inherited from BaseProperty

#default_name, #default_tag, name, #name, #render?, tag

Constructor Details

#initialize(tag = :bdr) ⇒ Border

Returns a new instance of Border.



16
17
18
# File 'lib/rocx/properties/border.rb', line 16

def initialize(tag=:bdr)
  @tag = tag
end

Instance Attribute Details

#tagObject (readonly)

Returns the value of attribute tag.



4
5
6
# File 'lib/rocx/properties/border.rb', line 4

def tag
  @tag
end