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