Class: FileCrawler::Finder

Inherits:
Object
  • Object
show all
Includes:
Command::Collect, Command::Move, Command::Resemble, Command::Search
Defined in:
lib/file_crawler/finder.rb,
lib/file_crawler/finder/command/move.rb,
lib/file_crawler/finder/command/search.rb,
lib/file_crawler/finder/command/collect.rb,
lib/file_crawler/finder/command/resemble.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

#find_files_in_path, #search, #search_directories, #search_directories_in_path

Methods included from Command::Resemble

#resemble, #resemble_in_collection

Methods included from Command::Move

#create_directory_if_needed, #exist_file?, #find_free_filename, #is_same?, #move, #move_from_collection, #move_from_collection_with_numbering, #move_with_numbering, #valiable_to_move?

Methods included from Command::Collect

#collect, #collect_into_filename, #decide_index_for_collect

Constructor Details

#initializeFinder

Returns a new instance of Finder.



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

def initialize
  @rows = []
end

Instance Attribute Details

#rowsObject (readonly)

Returns the value of attribute rows.



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

def rows
  @rows
end