Class: PlatformosCheck::PartialFile
- Inherits:
-
LiquidFile
- Object
- AppFile
- LiquidFile
- PlatformosCheck::PartialFile
- Defined in:
- lib/platformos_check/partial_file.rb
Constant Summary collapse
- DIR_PREFIX =
%r{\A/?((marketplace_builder|app)/(views/partials|liquid_views|views|lib)/|(app/)?modules/((\w|-)*)/(private|public)/(views/partials|liquid_views|views|lib)/)}
Instance Attribute Summary
Attributes inherited from AppFile
Instance Method Summary collapse
Methods inherited from LiquidFile
#form?, #layout?, #liquid?, #migration?, #notification?, #page?, #parse, parse, #rewriter, #root, #source_excerpt, #warnings, #write
Methods inherited from AppFile
#==, #build_name, #dir_names, #graphql?, #initialize, #liquid?, #module_name, #module_original_file?, #module_original_file_path, #module_overwrite_file?, #module_overwrite_file_path, #module_prefix, #name, #page?, #path, #relative_path, #remove_extension, #source, #translation?, #yaml?
Constructor Details
This class inherits a constructor from PlatformosCheck::AppFile
Instance Method Details
#dir_prefix ⇒ Object
11 12 13 |
# File 'lib/platformos_check/partial_file.rb', line 11 def dir_prefix DIR_PREFIX end |
#partial? ⇒ Boolean
7 8 9 |
# File 'lib/platformos_check/partial_file.rb', line 7 def partial? true end |