Methods
- A
- D
- E
- M
- N
- S
- T
- Y
Included Modules
Attributes
[R] | children | The children of this node |
[RW] | end_column | The column number where this node ends |
[RW] | end_line | The line number where this node ends |
[RW] | start_column | The column number where this node start |
[RW] | start_line | The line number where this node start |
[R] | tag | An associated tag |
Class Public methods
new() Link
Create a new Psych::Nodes::Node
Instance Public methods
alias?() Link
document?() Link
each(&block) Link
Iterate over each node in the tree. Yields each node to block
depth first.
mapping?() Link
scalar?() Link
sequence?() Link
stream?() Link
to_ruby(symbolize_names: false, freeze: false, strict_integer: false) Link
Convert this node to Ruby.
See also Psych::Visitors::ToRuby
Also aliased as: transform
yaml(io = nil, options = {}) Link
Convert this node to YAML
.
See also Psych::Visitors::Emitter
Also aliased as: to_yaml