Class: Brut::CLI::Apps::Deploy::GitChecks::Results

Inherits:
Object
  • Object
show all
Defined in:
lib/brut/cli/apps/deploy/git_checks.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#errorsObject (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

Returns:

  • (Boolean)


10
# File 'lib/brut/cli/apps/deploy/git_checks.rb', line 10

def errors? = errors.any?