Sha256: 0a3ae16f2fc43cbefd921e718c2c92fe17ae845fa5b286294da6f34f3f315dd6
Contents?: true
Size: 273 Bytes
Versions: 3
Compression:
Stored size: 273 Bytes
Contents
# frozen_string_literal: true module Codebreaker class ValidatableEntity include Validator def initialize @errors = [] end def validate raise NotImplementedError end def valid? validate @errors.empty? end end end
Version data entries
3 entries across 3 versions & 1 rubygems