Class: SdocAll::FileList

Inherits:
Rake::FileList
  • Object
show all
Defined in:
lib/sdoc_all/file_list.rb

Instance Method Summary collapse

Instance Method Details

#resolveObject



3
4
5
6
7
8
9
# File 'lib/sdoc_all/file_list.rb', line 3

def resolve
  if @pending
    super
    @items.replace(@items.uniq.reject{ |path| !File.exist?(path) })
  end
  self
end