lib/simplabs/excellent/checks/singleton_variable_check.rb in simplabs-excellent-1.3.1 vs lib/simplabs/excellent/checks/singleton_variable_check.rb in simplabs-excellent-1.4.0

- old
+ new

@@ -15,9 +15,10 @@ class SingletonVariableCheck < Base def initialize #:nodoc: super @interesting_nodes = [:cvar] + @interesting_files = [/\.rb$/, /\.erb$/] end def evaluate(context) #:nodoc: add_warning(context, 'Singleton variable {{variable}} used.', { :variable => context.full_name }) end