Class: PlatformosCheck::LayoutFile
- Inherits:
-
LiquidFile
- Object
- AppFile
- LiquidFile
- PlatformosCheck::LayoutFile
- Defined in:
- lib/platformos_check/layout_file.rb
Constant Summary collapse
- DIR_PREFIX =
%r{\A/?((marketplace_builder|app)/(views/layouts)/|(app/)?modules/((\w|-)*)/(private|public)/(views/layouts)/)}
Instance Attribute Summary
Attributes inherited from AppFile
Instance Method Summary collapse
Methods inherited from LiquidFile
#form?, #liquid?, #migration?, #notification?, #page?, #parse, parse, #partial?, #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?, #partial?, #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/layout_file.rb', line 11 def dir_prefix DIR_PREFIX end |
#layout? ⇒ Boolean
7 8 9 |
# File 'lib/platformos_check/layout_file.rb', line 7 def layout? true end |