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

#move, #output_mv

Methods included from Command::Collect

#collect

Constructor Details

#initializeFinder

Returns a new instance of Finder.



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

def initialize
  @rows = []
end

Instance Attribute Details

#collectionsObject (readonly)

Returns the value of attribute collections.



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

def collections
  @collections
end

#directoriesObject (readonly)

Returns the value of attribute directories.



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

def directories
  @directories
end

#dirsObject (readonly)

Returns the value of attribute dirs.



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

def dirs
  @dirs
end