Exception: Sqreen::Rules::BindingAccessorMetrics::NoExpressions
- Inherits:
-
Exception
- Object
- StandardError
- Exception
- Sqreen::Rules::BindingAccessorMetrics::NoExpressions
- Defined in:
- lib/sqreen/rules/binding_accessor_metrics.rb
Overview
Exception thrown when no expression are present
Instance Method Summary collapse
-
#initialize(expr) ⇒ NoExpressions
constructor
A new instance of NoExpressions.
Methods inherited from Exception
Constructor Details
#initialize(expr) ⇒ NoExpressions
Returns a new instance of NoExpressions.
16 17 18 |
# File 'lib/sqreen/rules/binding_accessor_metrics.rb', line 16 def initialize(expr) super("No valid expressions defined in #{expr.inspect}") end |