Module: Spotlight

Defined in:
lib/spotlight.rb,
ext/spotlight/spotlight.c

Defined Under Namespace

Modules: Intern Classes: MDItem

Constant Summary collapse

VERSION =
"0.0.4"

Class Method Summary collapse

Class Method Details

.search(query_string, *scope_directories) ⇒ Object



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

def self.search(query_string, *scope_directories)
  Intern.search(query_string, scope_directories).collect {|path| MDItem.new(path)}
end