Class: DatoDast::Nodes::Heading
- Defined in:
- lib/dato_dast/nodes/heading.rb
Constant Summary
Constants inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#children, #config, #css_class, #initialize, #meta, #node_config, #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
#level ⇒ Object
4 5 6 |
# File 'lib/dato_dast/nodes/heading.rb', line 4 def level @node["level"] end |