Class: Sablon::HTMLConverter::ListParagraph
- Defined in:
- lib/sablon/html/ast.rb
Constant Summary collapse
- LIST_STYLE =
<<-XML.gsub("\n", "") <w:numPr> <w:ilvl w:val="%s" /> <w:numId w:val="%s" /> </w:numPr> XML
Constants inherited from Paragraph
Instance Attribute Summary collapse
-
#ilvl ⇒ Object
Returns the value of attribute ilvl.
-
#numid ⇒ Object
Returns the value of attribute numid.
Attributes inherited from Paragraph
Instance Method Summary collapse
-
#initialize(style, runs, numid, ilvl) ⇒ ListParagraph
constructor
A new instance of ListParagraph.
Methods inherited from Paragraph
Methods inherited from Node
Constructor Details
#initialize(style, runs, numid, ilvl) ⇒ ListParagraph
Returns a new instance of ListParagraph.
89 90 91 92 93 |
# File 'lib/sablon/html/ast.rb', line 89 def initialize(style, runs, numid, ilvl) super style, runs @numid = numid @ilvl = ilvl end |
Instance Attribute Details
#ilvl ⇒ Object
Returns the value of attribute ilvl.
88 89 90 |
# File 'lib/sablon/html/ast.rb', line 88 def ilvl @ilvl end |
#numid ⇒ Object
Returns the value of attribute numid.
88 89 90 |
# File 'lib/sablon/html/ast.rb', line 88 def numid @numid end |