Class: PlatformosCheck::FormFile

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

Constant Summary collapse

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

Instance Attribute Summary

Attributes inherited from AppFile

#storage, #version

Instance Method Summary collapse

Methods inherited from LiquidFile

#layout?, #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_prefixObject



11
12
13
# File 'lib/platformos_check/form_file.rb', line 11

def dir_prefix
  DIR_PREFIX
end

#form?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/platformos_check/form_file.rb', line 7

def form?
  true
end