Module: RSpec::Core::Formatters::HtmlSnippetExtractor::NullConverter Private

Defined in:
lib/rspec/core/formatters/html_snippet_extractor.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Class Method Summary collapse

Class Method Details

.convert(code) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



11
12
13
# File 'lib/rspec/core/formatters/html_snippet_extractor.rb', line 11

def self.convert(code)
  %Q(#{code}\n<span class="comment"># Install the coderay gem to get syntax highlighting</span>)
end