Class: Epuber::Compiler::FileFinders::Normal

Inherits:
Abstract
  • Object
show all
Defined in:
lib/epuber/compiler/file_finders/normal.rb

Instance Attribute Summary

Attributes inherited from Abstract

#ignored_patterns, #source_path

Instance Method Summary collapse

Methods inherited from Abstract

#assert_one_file, #find_all, #find_file, #find_files, group_filter_paths, #initialize, relative_paths_from

Constructor Details

This class inherits a constructor from Epuber::Compiler::FileFinders::Abstract

Instance Method Details

#__core_file?(path) ⇒ Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/epuber/compiler/file_finders/normal.rb', line 13

def __core_file?(path)
  File.file?(path)
end

#__core_find_files_from_pattern(pattern) ⇒ Object



9
10
11
# File 'lib/epuber/compiler/file_finders/normal.rb', line 9

def __core_find_files_from_pattern(pattern)
  Dir.glob(pattern)
end