Class: RSpec::Core::Formatters::SnippetExtractor::NullConverter Private
- Inherits:
-
Object
- Object
- RSpec::Core::Formatters::SnippetExtractor::NullConverter
- Defined in:
- lib/rspec/core/formatters/snippet_extractor.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary (collapse)
- - (Object) convert(code) private
Instance Method Details
- (Object) convert(code)
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.
9 10 11 |
# File 'lib/rspec/core/formatters/snippet_extractor.rb', line 9 def convert(code) %Q(#{code}\n<span class="comment"># Install the coderay gem to get syntax highlighting</span>) end |