Sha256: 9a8ff1359583d7f763ae42c0bbf45b2abcb8b9b1e7c95d3435b0be79c287d684
Contents?: true
Size: 242 Bytes
Versions: 26
Compression:
Stored size: 242 Bytes
Contents
module Gratan::DSL::Validator def __validate(errmsg) raise __identify(errmsg) unless yield end def __identify(errmsg) if @object_identifier errmsg = "#{@object_identifier}: #{errmsg}" end return errmsg end end
Version data entries
26 entries across 26 versions & 1 rubygems