Class Methods
::
ext/psych/lib/psych/visitors/depth_first.rb
View on GitHub
# File tmp/rubies/ruby-3.4.0-preview1/ext/psych/lib/psych/visitors/depth_first.rb, line 5
def initialize block
@block = block
end
No documentation available
Instance Methods
#
ext/psych/lib/psych/visitors/depth_first.rb
View on GitHub
# File tmp/rubies/ruby-3.4.0-preview1/ext/psych/lib/psych/visitors/depth_first.rb, line 11
def nary o
o.children.each { |x| visit x }
@block.call o
end
No documentation available
ext/psych/lib/psych/visitors/depth_first.rb
View on GitHub
# File tmp/rubies/ruby-3.4.0-preview1/ext/psych/lib/psych/visitors/depth_first.rb, line 20
def terminal o
@block.call o
end
No documentation available
ext/psych/lib/psych/visitors/depth_first.rb
View on GitHub
An alias for terminal
ext/psych/lib/psych/visitors/depth_first.rb
View on GitHub
An alias for nary
ext/psych/lib/psych/visitors/depth_first.rb
View on GitHub
An alias for nary
ext/psych/lib/psych/visitors/depth_first.rb
View on GitHub
An alias for terminal
ext/psych/lib/psych/visitors/depth_first.rb
View on GitHub
An alias for nary
ext/psych/lib/psych/visitors/depth_first.rb
View on GitHub
An alias for nary