Module: RSpec::Core::Formatters::HtmlSnippetExtractor::NullConverter Private
Do not use. This module is for internal use only.
Relationships & Source Files | |
Defined in: | rspec-core/lib/rspec/core/formatters/html_snippet_extractor.rb |
Class Method Summary
- .convert(code) Internal use only
Class Method Details
.convert(code)
[ GitHub ]# File 'rspec-core/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