--- !ruby/object:RI::ClassDescription 
attributes: []

class_methods: 
- !ruby/object:RI::MethodSummary 
  name: "[]"
- !ruby/object:RI::MethodSummary 
  name: clear_ignore_patterns
- !ruby/object:RI::MethodSummary 
  name: new
- !ruby/object:RI::MethodSummary 
  name: select_default_ignore_patterns
comment: 
- !ruby/struct:SM::Flow::H 
  level: 1
  text: FileList
- !ruby/struct:SM::Flow::P 
  body: A FileList is essentially an array with helper methods to make file manipulation easier.
- !ruby/struct:SM::Flow::P 
  body: FileLists are lazy. When given a list of glob patterns for possible files to be included in the file list, instead of searching the file structures to find the files, a FileList holds the pattern for latter use.
- !ruby/struct:SM::Flow::P 
  body: This allows us to define a number of FileList to match any number of files, but only search out the actual files when then FileList itself is actually used. The key is that the first time an element of the FileList/Array is requested, the pending patterns are resolved into a real list of file names.
- !ruby/struct:SM::Flow::VERB 
  body: "  fl = FileList.new\n  fl.include('./**/*')\n  fl.exclude('./*~')\n"
constants: 
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: List of array methods (that are not in <tt>Object</tt>) that need to be delegated.
  name: ARRAY_METHODS
  value: Array.instance_methods - Object.instance_methods
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: List of additional methods that must be delegated.
  name: MUST_DEFINE
  value: "%w[to_a inspect]"
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: List of methods that should not be delegated here (we define special versions of them explicitly below).
  name: MUST_NOT_DEFINE
  value: "%w[to_a to_ary partition *]"
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: List of delegated methods that return new array values which need wrapping.
  name: SPECIAL_RETURN
  value: "%w[     map collect sort sort_by select find_all reject grep     compact flatten uniq values_at     + - & |   ]"
- !ruby/object:RI::Constant 
  comment: 
  name: DELEGATING_METHODS
  value: (ARRAY_METHODS + MUST_DEFINE - MUST_NOT_DEFINE).sort.uniq
- !ruby/object:RI::Constant 
  comment: 
  name: DEFAULT_IGNORE_PATTERNS
  value: "[     /(^|[\\/\\\\])CVS([\\/\\\\]|$)/,     /(^|[\\/\\\\])\\.svn([\\/\\\\]|$)/,     /(^|[\\/\\\\])_darcs([\\/\\\\]|$)/,     /\\.bak$/,     /~$/,     /(^|[\\/\\\\])core$/"
full_name: FileList
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: "*"
- !ruby/object:RI::MethodSummary 
  name: ==
- !ruby/object:RI::MethodSummary 
  name: add
- !ruby/object:RI::MethodSummary 
  name: calculate_exclude_regexp
- !ruby/object:RI::MethodSummary 
  name: clear_exclude
- !ruby/object:RI::MethodSummary 
  name: clone
- !ruby/object:RI::MethodSummary 
  name: dup
- !ruby/object:RI::MethodSummary 
  name: egrep
- !ruby/object:RI::MethodSummary 
  name: exclude
- !ruby/object:RI::MethodSummary 
  name: exclude?
- !ruby/object:RI::MethodSummary 
  name: ext
- !ruby/object:RI::MethodSummary 
  name: gsub
- !ruby/object:RI::MethodSummary 
  name: gsub!
- !ruby/object:RI::MethodSummary 
  name: import
- !ruby/object:RI::MethodSummary 
  name: include
- !ruby/object:RI::MethodSummary 
  name: resolve
- !ruby/object:RI::MethodSummary 
  name: resolve_add
- !ruby/object:RI::MethodSummary 
  name: resolve_exclude
- !ruby/object:RI::MethodSummary 
  name: sub
- !ruby/object:RI::MethodSummary 
  name: sub!
- !ruby/object:RI::MethodSummary 
  name: to_a
- !ruby/object:RI::MethodSummary 
  name: to_ary
- !ruby/object:RI::MethodSummary 
  name: to_s
name: FileList
superclass: Object
