Class: Kotoshu::Cli::DirectoryCheck::FileOutcome

Inherits:
Struct
  • Object
show all
Defined in:
lib/kotoshu/cli/directory_check.rb,
sig/kotoshu.rbs

Overview

Outcome of checking one file: the checked path, the check result, and the baseline application (nil without a baseline).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize ⇒ FileOutcome

keyword_init Struct (lib/kotoshu/cli/directory_check.rb).

Parameters:



293
# File 'sig/kotoshu.rbs', line 293

def initialize: (path: String path, result: Models::Result::DocumentResult result, application: Baseline::Store::Application? application) -> void

Instance Attribute Details

#application ⇒ Object

Returns the value of attribute application

Returns:

  • (Object) —

    the current value of application



16
17
18
# File 'lib/kotoshu/cli/directory_check.rb', line 16

def application
  @application
end

#path ⇒ Object

Returns the value of attribute path

Returns:

  • (Object) —

    the current value of path



16
17
18
# File 'lib/kotoshu/cli/directory_check.rb', line 16

def path
  @path
end

#result ⇒ Object

Returns the value of attribute result

Returns:

  • (Object) —

    the current value of result



16
17
18
# File 'lib/kotoshu/cli/directory_check.rb', line 16

def result
  @result
end

Instance Method Details

#members ⇒ Array[Symbol]

Returns:

  • (Array[Symbol])


297
# File 'sig/kotoshu.rbs', line 297

def members: () -> Array[Symbol]