Class: PlatformosCheck::MissingTemplate::MissingFileCorrection

Inherits:
Object
  • Object
show all
Defined in:
lib/platformos_check/checks/missing_template.rb

Instance Method Summary collapse

Constructor Details

#initialize(path:, directory:, extension:) ⇒ MissingFileCorrection

Returns a new instance of MissingFileCorrection.



7
8
9
10
11
# File 'lib/platformos_check/checks/missing_template.rb', line 7

def initialize(path:, directory:, extension:)
  @path = path
  @directory = directory
  @extension = extension
end

Instance Method Details

#full_relative_pathObject



13
14
15
# File 'lib/platformos_check/checks/missing_template.rb', line 13

def full_relative_path
  @full_relative_path ||= module? ? module_path : app_path
end