Class: Markbridge::Parsers::TextFormatter::Handlers::TableCellHandler
- Inherits:
-
BaseHandler
- Object
- BaseHandler
- Markbridge::Parsers::TextFormatter::Handlers::TableCellHandler
- Defined in:
- lib/markbridge/parsers/text_formatter/handlers/table_cell_handler.rb
Overview
Handler for table cell elements (TD, TH)
Instance Method Summary collapse
- #element_class ⇒ Object
-
#initialize ⇒ TableCellHandler
constructor
A new instance of TableCellHandler.
- #process(element:, parent:) ⇒ Object
Constructor Details
#initialize ⇒ TableCellHandler
Returns a new instance of TableCellHandler.
9 10 11 |
# File 'lib/markbridge/parsers/text_formatter/handlers/table_cell_handler.rb', line 9 def initialize @element_class = AST::TableCell end |
Instance Method Details
#element_class ⇒ Object
19 20 21 |
# File 'lib/markbridge/parsers/text_formatter/handlers/table_cell_handler.rb', line 19 def element_class @element_class end |