Sha256: 7b3edb8fbde4d378b0db9cd373dcf60f793c62acad3b256ad18255b3d39a478c
Contents?: true
Size: 324 Bytes
Versions: 27
Compression:
Stored size: 324 Bytes
Contents
require 'active_model' # Source I18n translations module NdrImport # Raised if a mandatory field is blank. class MissingFieldError < StandardError attr_reader :field def initialize(field) @field = field message = "#{field} #{I18n.t('errors.messages.blank')}" super(message) end end end
Version data entries
27 entries across 27 versions & 1 rubygems