Sha256: 84a244fb1d114d869501a99f99467a6deaf3e11181cc0446e2c94e9faddfd058
Contents?: true
Size: 330 Bytes
Versions: 3
Compression:
Stored size: 330 Bytes
Contents
# frozen_string_literal: true class CommitCheck def self.fail?(message, options) new(message, options || {}).fail? end def initialize(message, options = {}) end def message raise NotImplementedError, 'implement in subclass' end def fail? raise NotImplementedError, 'implement in subclass' end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
danger-wcc-0.0.4 | lib/wcc/commit_lint/commit_check.rb |
danger-wcc-0.0.3 | lib/wcc/commit_lint/commit_check.rb |
danger-wcc-0.0.2 | lib/wcc/commit_lint/commit_check.rb |