Class: Markbridge::Parsers::HTML::Handlers::TableRowHandler
- Inherits:
-
BaseHandler
- Object
- BaseHandler
- Markbridge::Parsers::HTML::Handlers::TableRowHandler
- Defined in:
- lib/markbridge/parsers/html/handlers/table_row_handler.rb
Overview
Handler for table row tags (<tr>)
Instance Attribute Summary collapse
-
#element_class ⇒ Object
readonly
Returns the value of attribute element_class.
Instance Method Summary collapse
-
#initialize ⇒ TableRowHandler
constructor
A new instance of TableRowHandler.
- #process(element:, parent:) ⇒ Object
Constructor Details
#initialize ⇒ TableRowHandler
Returns a new instance of TableRowHandler.
9 10 11 |
# File 'lib/markbridge/parsers/html/handlers/table_row_handler.rb', line 9 def initialize @element_class = AST::TableRow end |
Instance Attribute Details
#element_class ⇒ Object (readonly)
Returns the value of attribute element_class.
19 20 21 |
# File 'lib/markbridge/parsers/html/handlers/table_row_handler.rb', line 19 def element_class @element_class end |