class HamlLint::RubyExtraction::ImplicitEndChunk
HAML adds a ‘end` when code gets outdented. We need to add that to the Ruby too, this is the chunk for it. However:
-
we can’t apply fixes to it, so there are no markers
-
this is a distinct class so that a
ScriptChunk
can fuse this ImplicitEnd into itself, So that we can generate bigger chunks of uninterrupted Ruby.
Public Instance Methods
transfer_correction(coordinator, all_corrected_ruby_lines, haml_lines)
click to toggle source
# File lib/haml_lint/ruby_extraction/implicit_end_chunk.rb, line 15 def transfer_correction(coordinator, all_corrected_ruby_lines, haml_lines); end
wrap_in_markers()
click to toggle source
# File lib/haml_lint/ruby_extraction/implicit_end_chunk.rb, line 11 def wrap_in_markers false end