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

Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.12.0/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/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.12.0/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