# File lib/coderay/encoders/yaml.rb, line 31 def begin_group kind @data << [:begin_group, kind] end
# File lib/coderay/encoders/yaml.rb, line 39 def begin_line kind @data << [:begin_line, kind] end
# File lib/coderay/encoders/yaml.rb, line 35 def end_group kind @data << [:end_group, kind] end
# File lib/coderay/encoders/yaml.rb, line 43 def end_line kind @data << [:end_line, kind] end
# File lib/coderay/encoders/yaml.rb, line 27 def text_token text, kind @data << [text, kind] end
# File lib/coderay/encoders/yaml.rb, line 22 def finish options output ::YAML.dump(@data) end
# File lib/coderay/encoders/yaml.rb, line 16 def setup options super @data = [] end