Module: Fastererer::Offensive
- Included in:
- MethodCallScanner, MethodDefinitionScanner, RescueCallScanner
- Defined in:
- lib/fastererer/scanners/offensive.rb
Instance Attribute Summary collapse
-
#offense ⇒ Object
Returns the value of attribute offense.
Instance Method Summary collapse
- #offensive? ⇒ Boolean (also: #offense_detected?)
Instance Attribute Details
#offense ⇒ Object
Returns the value of attribute offense.
7 8 9 |
# File 'lib/fastererer/scanners/offensive.rb', line 7 def offense @offense end |
Instance Method Details
#offensive? ⇒ Boolean Also known as: offense_detected?
9 10 11 |
# File 'lib/fastererer/scanners/offensive.rb', line 9 def offensive? !!offense end |