Class: RicherText::Nodes::Heading
- Inherits:
-
RicherText::Node
- Object
- RicherText::Node
- RicherText::Nodes::Heading
- Defined in:
- lib/richer_text/nodes/heading.rb
Constant Summary
Constants inherited from RicherText::Node
Instance Attribute Summary
Attributes inherited from RicherText::Node
#attrs, #children, #json, #type
Instance Method Summary collapse
Methods inherited from RicherText::Node
#accept, build, #initialize, #style
Constructor Details
This class inherits a constructor from RicherText::Node
Instance Method Details
#level ⇒ Object
4 5 6 |
# File 'lib/richer_text/nodes/heading.rb', line 4 def level attrs["level"] end |