Class: DatoDast::Nodes::InlineItem

Inherits:
Item
  • Object
show all
Defined in:
lib/dato_dast/nodes/inline_item.rb

Constant Summary

Constants inherited from Base

Base::EMPTY, 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_repoObject



4
5
6
# File 'lib/dato_dast/nodes/inline_item.rb', line 4

def item_repo
  @links
end

#node_configObject



8
9
10
# File 'lib/dato_dast/nodes/inline_item.rb', line 8

def node_config
  config.inline_items[item_type]
end