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.
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ Interior
constructor
A new instance of Interior.
Constructor Details
#initialize(attrs = {}) ⇒ Interior
Returns a new instance of Interior.
31 32 33 34 35 |
# File 'lib/xmlss/style/interior.rb', line 31 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.
29 30 31 |
# File 'lib/xmlss/style/interior.rb', line 29 def color @color end |
#pattern_color ⇒ Object
Returns the value of attribute pattern_color.
29 30 31 |
# File 'lib/xmlss/style/interior.rb', line 29 def pattern_color @pattern_color end |