Class: EmbeddableContent::HtmlTags::NodeProcessor
- Inherits:
-
NodeProcessor
- Object
- EmbedderBase
- NodeProcessor
- EmbeddableContent::HtmlTags::NodeProcessor
- Includes:
- TemplateBased
- Defined in:
- app/services/embeddable_content/html_tags/node_processor.rb
Constant Summary
Constants inherited from NodeProcessor
NodeProcessor::ADDED_CLASSES_BLANK_BY_DEFAULT, NodeProcessor::ALL_TARGETS_PROCESSED_BY_DEFAULT, NodeProcessor::DEFAULT_TEMPLATE_MANAGER_CLASS, NodeProcessor::NODE_CAN_BE_REMOVED_BY_DEFAULT, NodeProcessor::RECORD_BLANK_BY_DEFAULT, NodeProcessor::SELECTOR_CLASS_BLANK_BY_DEFAULT
Instance Attribute Summary
Attributes inherited from NodeProcessor
#doc_processor, #error, #node, #node_index
Attributes inherited from EmbedderBase
Instance Method Summary collapse
Methods included from TemplateBased
Methods inherited from NodeProcessor
#initialize, #node_added_classes, #process!, #record
Methods inherited from EmbedderBase
default_s3_bucket, #ed_node, #initialize, #locale, #s3_bucket, #target, #to_s, #tree, #tree_node
Constructor Details
This class inherits a constructor from EmbeddableContent::NodeProcessor
Instance Method Details
#data_rows ⇒ Object
6 7 8 |
# File 'app/services/embeddable_content/html_tags/node_processor.rb', line 6 def data_rows @data_rows ||= list_data.each_slice(num_columns).to_a end |
#node_selector_class ⇒ Object
10 11 12 |
# File 'app/services/embeddable_content/html_tags/node_processor.rb', line 10 def node_selector_class 'embedded-unstructured-data' end |