class RSpec::Core::Source::SyntaxHighlighter

when coderay is available.
Provides terminal syntax highlighting of code snippets
@private

def color_enabled_implementation

def color_enabled_implementation
  @color_enabled_implementation ||= begin
    ::Kernel.require 'coderay'
    CodeRayImplementation
  rescue LoadError
    NoSyntaxHighlightingImplementation
  end
end

def highlight(lines)

def highlight(lines)
  implementation.highlight_syntax(lines)
end

def implementation

:nocov:
def implementation
  WindowsImplementation
end

def implementation

def implementation
  return color_enabled_implementation if @configuration.color_enabled?
  NoSyntaxHighlightingImplementation
end

def initialize(configuration)

def initialize(configuration)
  @configuration = configuration
end