Class: RuboCop::Erb::KeywordRemover::TrailingBraceRemover

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

Overview

Remove trailing ‘{`.

Constant Summary collapse

REGEXP =
/
  {
  [ \t]*
  (?:\|[^|]*\|)?
  \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