Class: Xmlss::Style::Interior

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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

#colorObject

Returns the value of attribute color.



31
32
33
# File 'lib/xmlss/style/interior.rb', line 31

def color
  @color
end

#pattern_colorObject

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

.writerObject



6
# File 'lib/xmlss/style/interior.rb', line 6

def self.writer; :interior; end