class ValidationProfiler::Exceptions::InvalidFieldType
Public Class Methods
new(rule, field)
click to toggle source
# File lib/validation_profiler/exceptions/invalid_field_type.rb, line 5 def initialize(rule, field) @rule = rule @field = field end
Public Instance Methods
to_s()
click to toggle source
# File lib/validation_profiler/exceptions/invalid_field_type.rb, line 10 def to_s rule = @rule field = @field "Field: #{field} has an incorrect value type for Validation Rule: #{rule}." end