lib/simplabs/excellent/checks/rails/validations_check.rb in excellent-1.7.2 vs lib/simplabs/excellent/checks/rails/validations_check.rb in excellent-2.0.0
- old
+ new
@@ -14,10 +14,10 @@
# ==== Applies to
#
# * +ActiveRecord+ models
class ValidationsCheck < Base
- def initialize #:nodoc:
+ def initialize(options = {}) #:nodoc:
super
@interesting_contexts = [Parsing::ClassContext]
end
def evaluate(context) #:nodoc: