lib/json-schema/attributes/enum.rb in json-schema-1.0.3 vs lib/json-schema/attributes/enum.rb in json-schema-1.0.4
- old
+ new
@@ -14,10 +14,10 @@
else
message += " #{val.to_s},"
end
}
message.chop!
- validation_error(message, fragments, current_schema, options[:record_errors])
+ validation_error(message, fragments, current_schema, self, options[:record_errors])
end
end
end
end
end
\ No newline at end of file