Class: Rubyword::Writer::Style::Base
- Inherits:
-
Object
- Object
- Rubyword::Writer::Style::Base
- Defined in:
- lib/rubyword/writer/style/base.rb
Instance Attribute Summary collapse
-
#rubyword ⇒ Object
Returns the value of attribute rubyword.
-
#section ⇒ Object
Returns the value of attribute section.
-
#style ⇒ Object
Returns the value of attribute style.
-
#xml ⇒ Object
Returns the value of attribute xml.
Instance Method Summary collapse
-
#initialize(section, xml, rubyword) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(section, xml, rubyword) ⇒ Base
Returns a new instance of Base.
7 8 9 10 11 |
# File 'lib/rubyword/writer/style/base.rb', line 7 def initialize(section, xml, rubyword) @section = section @xml = xml @rubyword = rubyword end |
Instance Attribute Details
#rubyword ⇒ Object
Returns the value of attribute rubyword.
6 7 8 |
# File 'lib/rubyword/writer/style/base.rb', line 6 def rubyword @rubyword end |
#section ⇒ Object
Returns the value of attribute section.
6 7 8 |
# File 'lib/rubyword/writer/style/base.rb', line 6 def section @section end |
#style ⇒ Object
Returns the value of attribute style.
6 7 8 |
# File 'lib/rubyword/writer/style/base.rb', line 6 def style @style end |
#xml ⇒ Object
Returns the value of attribute xml.
6 7 8 |
# File 'lib/rubyword/writer/style/base.rb', line 6 def xml @xml end |