Class: DTK::DSL::DirectoryParser

Inherits:
Object
  • Object
show all
Defined in:
lib/dsl/directory_parser.rb

Overview

Abstract class; application that uses this library must provide a concrete class that inherits from this

Class Method Summary collapse

Class Method Details

.matching_file_obj?(_file_types, *_args) ⇒ Boolean

file_types - a single or array of FileType Returns a FileObj that matches a file_type object that matches a file_type in file_types

or returns nil if no match found

Returns:

  • (Boolean)

Raises:



25
26
27
# File 'lib/dsl/directory_parser.rb', line 25

def self.matching_file_obj?(_file_types, *_args)
  raise Error::NoMethodForConcreteClass.new(self.class)
end