class DTK::DSL::DirectoryParser
Abstract class; application that uses this library must provide a concrete class that inherits from this
Public Class Methods
matching_file_obj?(_file_types, *_args)
click to toggle source
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
# File lib/dsl/directory_parser.rb, line 25 def self.matching_file_obj?(_file_types, *_args) raise Error::NoMethodForConcreteClass.new(self.class) end