Sha256: 8b5ba8b621677244159e68d0f6824935594dcc3bb96a2116f7df413935196235
Contents?: true
Size: 556 Bytes
Versions: 3
Compression:
Stored size: 556 Bytes
Contents
module Goodcheck class Rule attr_reader :id attr_reader :patterns attr_reader :message attr_reader :justifications attr_reader :globs attr_reader :passes attr_reader :fails def initialize(id:, patterns:, message:, justifications:, globs:, fails:, passes:, negated:) @id = id @patterns = patterns @message = message @justifications = justifications @globs = globs @passes = passes @fails = fails @negated = negated end def negated? @negated end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
goodcheck-1.7.1 | lib/goodcheck/rule.rb |
goodcheck-1.7.0 | lib/goodcheck/rule.rb |
goodcheck-1.6.0 | lib/goodcheck/rule.rb |