Class: PlatformosCheck::MissingTemplate::MissingFileCorrection
- Inherits:
-
Object
- Object
- PlatformosCheck::MissingTemplate::MissingFileCorrection
- Defined in:
- lib/platformos_check/checks/missing_template.rb
Instance Method Summary collapse
- #full_relative_path ⇒ Object
-
#initialize(path:, directory:, extension:) ⇒ MissingFileCorrection
constructor
A new instance of MissingFileCorrection.
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_path ⇒ Object
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 |