Class: PlatformosCheck::LayoutFile

Inherits:
LiquidFile show all
Defined in:
lib/platformos_check/layout_file.rb

Constant Summary collapse

DIR_PREFIX =
%r{\A/?((marketplace_builder|app)/(views/layouts)/|modules/((\w|-)*)/(private|public)/(views/layouts)/)}

Instance Attribute Summary

Attributes inherited from AppFile

#storage, #version

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, #initialize, #liquid?, #module_name, #name, #path, #relative_path, #remove_extension, #source, #yaml?

Constructor Details

This class inherits a constructor from PlatformosCheck::AppFile

Instance Method Details

#dir_prefixObject



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