Class: ChurnVsComplexity::Gate::Checker::Result
- Inherits:
-
Object
- Object
- ChurnVsComplexity::Gate::Checker::Result
- Defined in:
- lib/churn_vs_complexity/gate/checker.rb
Instance Method Summary collapse
-
#initialize(json, passed:) ⇒ Result
constructor
A new instance of Result.
- #passed? ⇒ Boolean
- #to_s ⇒ Object
Constructor Details
#initialize(json, passed:) ⇒ Result
Returns a new instance of Result.
9 10 11 12 |
# File 'lib/churn_vs_complexity/gate/checker.rb', line 9 def initialize(json, passed:) @json = json @passed = passed end |
Instance Method Details
#passed? ⇒ Boolean
14 15 16 |
# File 'lib/churn_vs_complexity/gate/checker.rb', line 14 def passed? @passed end |
#to_s ⇒ Object
18 19 20 |
# File 'lib/churn_vs_complexity/gate/checker.rb', line 18 def to_s @json end |