Class: Docbert::Parser::DefinitionNode
- Inherits:
-
ExampleNode
- Object
- ExampleNode
- Docbert::Parser::DefinitionNode
- Defined in:
- lib/docbert/parser/definition_node.rb
Constant Summary
Constants inherited from ExampleNode
ExampleNode::BLANK_LINE, ExampleNode::EXAMPLE_KEYWORDS, ExampleNode::EXAMPLE_OUTLINE_KEYWORDS
Instance Method Summary collapse
-
#initialize(element_factory, fragment) ⇒ DefinitionNode
constructor
A new instance of DefinitionNode.
Methods inherited from ExampleNode
as_background, as_definition, as_example, as_example_outline, #to_element
Constructor Details
#initialize(element_factory, fragment) ⇒ DefinitionNode
Returns a new instance of DefinitionNode.
4 5 6 7 8 9 10 |
# File 'lib/docbert/parser/definition_node.rb', line 4 def initialize(element_factory, fragment) super :example_definition, EXAMPLE_DEFINITION_START, EXAMPLE_KEYWORDS, element_factory, fragment end |