class Tamiyo::YamlHelper::EventHandler
Public Class Methods
new(queue)
click to toggle source
# File lib/tamiyo/yaml/yaml_helper.rb, line 169 def initialize(queue) @queue = queue end
Public Instance Methods
end_sequence()
click to toggle source
# File lib/tamiyo/yaml/yaml_helper.rb, line 185 def end_sequence @queue << [:end] end
Also aliased as: end_mapping
scalar(value, anchor, tag, plain, quoted, style)
click to toggle source
# File lib/tamiyo/yaml/yaml_helper.rb, line 173 def scalar(value, anchor, tag, plain, quoted, style) @queue << [:scalar, value] end
start_mapping(anchor, tag, implicit, style)
click to toggle source
# File lib/tamiyo/yaml/yaml_helper.rb, line 181 def start_mapping(anchor, tag, implicit, style) @queue << [:map] end
start_sequence(anchor, tag, implicit, style)
click to toggle source
# File lib/tamiyo/yaml/yaml_helper.rb, line 177 def start_sequence(anchor, tag, implicit, style) @queue << [:seq] end