class Rufo::FileList
def initialize(*patterns)
end
fl.exclude(/\bCVS\b/)
pkg_files = FileList.new('lib/**/*') do |fl|
file_list = FileList.new('lib/**/*.rb', 'test/test*.rb')
Example:
"yield self" pattern.
perform multiple includes or excludes at object build time, use the
Create a file list from the globbable patterns given. If you wish to
def initialize(*patterns) @pending_add = [] @pending = false @exclude_patterns = DEFAULT_IGNORE_PATTERNS.dup @exclude_procs = DEFAULT_IGNORE_PROCS.dup @items = [] patterns.each { |pattern| include(pattern) } yield self if block_given? end