Class: Pronto::ClangFormat::OffenceCategorizer::UsingOrderCategorizer
- Inherits:
-
AbstractCategorizer
- Object
- AbstractCategorizer
- Pronto::ClangFormat::OffenceCategorizer::UsingOrderCategorizer
- Defined in:
- lib/pronto/clang_format/offence_categorizer/using_order_categorizer.rb
Instance Method Summary collapse
Methods inherited from AbstractCategorizer
Constructor Details
This class inherits a constructor from Pronto::ClangFormat::OffenceCategorizer::AbstractCategorizer
Instance Method Details
#handle_current(offence) ⇒ Object
7 8 9 10 11 |
# File 'lib/pronto/clang_format/offence_categorizer/using_order_categorizer.rb', line 7 def handle_current(offence) return unless offence.replaced_text.include? 'using' "Using declarations not ordered alphabetically" end |