Class: DatoDast::Nodes::Block
- Defined in:
- lib/dato_dast/nodes/block.rb
Constant Summary
Constants inherited from Base
DatoDast::Nodes::Base::EMPTY, DatoDast::Nodes::Base::NEWLINE
Instance Method Summary collapse
Methods inherited from Item
#children, #item, #item_id, #item_type, #node, #render, #render_value
Methods inherited from Base
#children, #config, #css_class, #initialize, #meta, #render, #render_children, #render_value, #tag, #tag_info, #type, type, #wrappers
Constructor Details
This class inherits a constructor from DatoDast::Nodes::Base
Instance Method Details
#item_repo ⇒ Object
4 5 6 |
# File 'lib/dato_dast/nodes/block.rb', line 4 def item_repo @blocks end |
#node_config ⇒ Object
8 9 10 |
# File 'lib/dato_dast/nodes/block.rb', line 8 def node_config config.blocks[item_type] end |