Module: Kubes::Util::Consider

Included in:
Compiler, Kubectl::Batch
Defined in:
lib/kubes/util/consider.rb

Instance Method Summary collapse

Instance Method Details

#consider?(path) ⇒ Boolean

Returns:

  • (Boolean)


3
4
5
6
7
8
# File 'lib/kubes/util/consider.rb', line 3

def consider?(path)
  File.file?(path) &&
  !path.include?('/resources/base') &&
  !path.include?('/base.') &&
  !path.include?('/all.')
end