instance method visit__table_header_row

Ruby on Rails edge

Since edge Private — implementation detail, not part of the public API

Signature

visit__table_header_row(node, child_values)

No documentation comment.

Parameters

node req
child_values req
Source
# File actiontext/lib/action_text/markdown_conversion.rb, line 282
      def visit__table_header_row(node, child_values)
        cells = child_values_for_elements(node, child_values).map { |v| stringify(v).strip }
        row = "| #{cells.join(" | ")} |\n"
        separator = "| #{Array.new(cells.size, "---").join(" | ")} |\n"
        "#{row}#{separator}"
      end

Defined in actiontext/lib/action_text/markdown_conversion.rb line 282 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionText::MarkdownConversion

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close