Class: RuboCop::Erb::KeywordRemover::TrailingDoRemover
- Inherits:
-
TrailingSourceRemover
- Object
- TrailingSourceRemover
- RuboCop::Erb::KeywordRemover::TrailingDoRemover
- Defined in:
- lib/rubocop/erb/keyword_remover.rb
Overview
Remove trailing ‘do`.
Constant Summary collapse
- REGEXP =
/ [ \t] do [ \t]* (?:\|[^|]*\|)? \s* \z /x.freeze
Method Summary
Methods inherited from TrailingSourceRemover
Constructor Details
This class inherits a constructor from RuboCop::Erb::KeywordRemover::TrailingSourceRemover