-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed unnecessary simple_scanner.rb
- Loading branch information
Eduardo Lopez
committed
May 5, 2011
1 parent
db8d854
commit 7cf0314
Showing
2 changed files
with
4 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
require 'command-t/ext' # CommandT::Matcher | ||
require 'command-t/finder' | ||
require 'mrT/command-t/simple_scanner' | ||
|
||
module CommandT | ||
# Finder for a predefined list of items provided at initialization | ||
class SimpleFinder < Finder | ||
attr_reader :paths | ||
|
||
def initialize(items, options = {}) | ||
@scanner = SimpleScanner.new items | ||
@matcher = Matcher.new @scanner, options | ||
@paths = items | ||
@matcher = Matcher.new self, options | ||
end | ||
end | ||
end |
This file was deleted.
Oops, something went wrong.