class Sablon::HTMLConverter::ListParagraph
Sets list item specific attributes registered on the node to properly generate a list paragraph
Public Class Methods
new(env, node, properties)
click to toggle source
Calls superclass method
Sablon::HTMLConverter::Paragraph::new
# File lib/sablon/html/ast.rb, line 273 def initialize(env, node, properties) list_props = { pStyle: node['pStyle'], numPr: [{ ilvl: node['ilvl'] }, { numId: node['numId'] }] } properties = properties.merge(list_props) super end
Private Instance Methods
transferred_properties()
click to toggle source
Calls superclass method
Sablon::HTMLConverter::Node#transferred_properties
# File lib/sablon/html/ast.rb, line 284 def transferred_properties super end