Class: Sablon::Processor::Document::RowBlock
- Defined in:
- lib/sablon/processor/document/blocks.rb
Instance Attribute Summary
Attributes inherited from Block
Class Method Summary collapse
Methods inherited from Block
#body, enclosed_by, #end_node, #initialize, parent, #process, #remove_control_elements, #replace, #start_node
Constructor Details
This class inherits a constructor from Sablon::Processor::Document::Block
Class Method Details
.encloses?(start_field, end_field) ⇒ Boolean
78 79 80 |
# File 'lib/sablon/processor/document/blocks.rb', line 78 def self.encloses?(start_field, end_field) super && parent(start_field) != parent(end_field) end |
.parent_selector ⇒ Object
74 75 76 |
# File 'lib/sablon/processor/document/blocks.rb', line 74 def self.parent_selector './/w:tr' end |