Class: Psych::Nodes::Node
- Inherits:
-
Object
- Object
- Psych::Nodes::Node
- Defined in:
- lib/cfn-model/monkey_patches/psych/nodes/node.rb
Overview
Psych’s first step is to parse the Yaml into an AST of Node objects so we open the Node class and add a way to track the line.
Instance Attribute Summary collapse
-
#line ⇒ Object
Returns the value of attribute line.
Instance Attribute Details
#line ⇒ Object
Returns the value of attribute line.
4 5 6 |
# File 'lib/cfn-model/monkey_patches/psych/nodes/node.rb', line 4 def line @line end |