Class: Xmlss::Style::Interior

Inherits:
Object
  • Object
show all
Includes:
Enumeration
Defined in:
lib/xmlss/style/interior.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#colorObject

Returns the value of attribute color.



29
30
31
# File 'lib/xmlss/style/interior.rb', line 29

def color
  @color
end

#pattern_colorObject

Returns the value of attribute pattern_color.



29
30
31
# File 'lib/xmlss/style/interior.rb', line 29

def pattern_color
  @pattern_color
end