Class: Rubyword::Writer::Part::Base
- Inherits:
-
Object
- Object
- Rubyword::Writer::Part::Base
- Defined in:
- lib/rubyword/writer/part/base.rb
Direct Known Subclasses
ContentTypes, DocPropsApp, DocPropsCore, DocPropsCustom, Document, FontTable, Footer, Header, Numbering, Rels, RelsDocument, Settings, Styles, Theme, WebSettings
Instance Attribute Summary collapse
-
#rubyword ⇒ Object
Returns the value of attribute rubyword.
-
#section ⇒ Object
Returns the value of attribute section.
Instance Method Summary collapse
-
#initialize(rubyword, section = nil) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(rubyword, section = nil) ⇒ Base
Returns a new instance of Base.
7 8 9 |
# File 'lib/rubyword/writer/part/base.rb', line 7 def initialize(rubyword, section=nil) @rubyword, @section = rubyword, section end |
Instance Attribute Details
#rubyword ⇒ Object
Returns the value of attribute rubyword.
6 7 8 |
# File 'lib/rubyword/writer/part/base.rb', line 6 def rubyword @rubyword end |
#section ⇒ Object
Returns the value of attribute section.
6 7 8 |
# File 'lib/rubyword/writer/part/base.rb', line 6 def section @section end |