Class: FileCrawler::Finder

Inherits:
Object
  • Object
show all
Includes:
Command::Collect, Command::Move, Command::Search
Defined in:
lib/file_crawler/finder.rb,
lib/file_crawler/finder/command.rb

Defined Under Namespace

Modules: Command

Instance Attribute Summary collapse

Attributes included from Command::Collect

#regexs

Instance Method Summary collapse

Methods included from Command::Search

#search, #search_directories

Methods included from Command::Base

#exec

Methods included from Command::Move

#cmds, #move

Methods included from Command::Collect

#collect

Constructor Details

#initializeFinder

Returns a new instance of Finder.



12
13
14
15
# File 'lib/file_crawler/finder.rb', line 12

def initialize
  @rows = []
  @collections = []
end

Instance Attribute Details

#collectionsObject

Returns the value of attribute collections.



6
7
8
# File 'lib/file_crawler/finder.rb', line 6

def collections
  @collections
end

#filesObject

Returns the value of attribute files.



6
7
8
# File 'lib/file_crawler/finder.rb', line 6

def files
  @files
end