Method: PDK::Module::Build#module_pdk_compatible?

Defined in:
lib/pdk/module/build.rb

#module_pdk_compatible?Boolean

Check if the module is PDK Compatible. If not, then prompt the user if they want to run PDK Convert.

Returns:

  • (Boolean)


53
54
55
# File 'lib/pdk/module/build.rb', line 53

def module_pdk_compatible?
  ['pdk-version', 'template-url'].any? { |key| .key?(key) }
end