Method: Sablon::HTMLConverter::TableRow#initialize

Defined in:
lib/sablon/html/ast.rb

#initialize(env, node, properties) ⇒ TableRow

Returns a new instance of TableRow.



357
358
359
360
361
362
363
364
365
# File 'lib/sablon/html/ast.rb', line 357

def initialize(env, node, properties)
  super
  properties = self.class.process_properties(properties)
  @properties = NodeProperties.table_row(properties)
  #
  trans_props = transferred_properties
  @children = ASTBuilder.html_to_ast(env, node.children, trans_props)
  @children = Collection.new(@children)
end