Class: RuboCop::Erb::KeywordRemover::TrailingThenRemover

Inherits:
TrailingSourceRemover show all
Defined in:
lib/rubocop/erb/keyword_remover.rb

Overview

Remove trailing ‘then`.

Constant Summary collapse

REGEXP =
/
  [ \t]*\b
  then
  \s*
  \z
/x.freeze

Method Summary

Methods inherited from TrailingSourceRemover

call, #call, #initialize

Constructor Details

This class inherits a constructor from RuboCop::Erb::KeywordRemover::TrailingSourceRemover