Class CodeRay::Encoders::YAML
In: lib/coderay/encoders/yaml.rb
Parent: Encoder

YAML Encoder

Slow.

Methods

compile  

Constants

FILE_EXTENSION = 'yaml'

Protected Instance methods

[Source]

    # File lib/coderay/encoders/yaml.rb, line 14
14:     def compile tokens, options
15:       require 'yaml'
16:       @out = tokens.to_a.to_yaml
17:     end

[Validate]