Class: Xmlss::Style::Interior
- Inherits:
-
Object
- Object
- Xmlss::Style::Interior
- Includes:
- Enumeration
- Defined in:
- lib/xmlss/style/interior.rb
Instance Attribute Summary collapse
-
#color ⇒ Object
Returns the value of attribute color.
-
#pattern_color ⇒ Object
Returns the value of attribute pattern_color.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ Interior
constructor
A new instance of Interior.
Constructor Details
#initialize(attrs = {}) ⇒ Interior
Returns a new instance of Interior.
33 34 35 36 37 |
# File 'lib/xmlss/style/interior.rb', line 33 def initialize(attrs={}) self.color = attrs[:color] self.pattern = attrs[:pattern] self.pattern_color = attrs[:pattern_color] end |
Instance Attribute Details
#color ⇒ Object
Returns the value of attribute color.
31 32 33 |
# File 'lib/xmlss/style/interior.rb', line 31 def color @color end |
#pattern_color ⇒ Object
Returns the value of attribute pattern_color.
31 32 33 |
# File 'lib/xmlss/style/interior.rb', line 31 def pattern_color @pattern_color end |
Class Method Details
.writer ⇒ Object
6 |
# File 'lib/xmlss/style/interior.rb', line 6 def self.writer; :interior; end |