lib/validators/phony_validator.rb in phony_rails-0.14.3 vs lib/validators/phony_validator.rb in phony_rails-0.14.4
- old
+ new
@@ -1,4 +1,5 @@
+# frozen_string_literal: true
# Uses the Phony.plausible method to validate an attribute.
# Usage:
# validate :phone_number, :phony_plausible => true
require 'active_model'
class PhonyPlausibleValidator < ActiveModel::EachValidator