Class: Brut::CLI::Apps::Deploy::GitChecks::Results
- Inherits:
-
Object
- Object
- Brut::CLI::Apps::Deploy::GitChecks::Results
- Defined in:
- lib/brut/cli/apps/deploy/git_checks.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
- #errors? ⇒ Boolean
-
#initialize(errors = {}) ⇒ Results
constructor
A new instance of Results.
Constructor Details
#initialize(errors = {}) ⇒ Results
Returns a new instance of Results.
7 8 9 |
# File 'lib/brut/cli/apps/deploy/git_checks.rb', line 7 def initialize(errors = {}) @errors = errors end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
6 7 8 |
# File 'lib/brut/cli/apps/deploy/git_checks.rb', line 6 def errors @errors end |
Instance Method Details
#errors? ⇒ Boolean
10 |
# File 'lib/brut/cli/apps/deploy/git_checks.rb', line 10 def errors? = errors.any? |