Class: CommandT::Finder::BufferFinder

Inherits:
CommandT::Finder show all
Defined in:
lib/command-t/finder/buffer_finder.rb

Direct Known Subclasses

MRUBufferFinder

Instance Method Summary collapse

Methods inherited from CommandT::Finder

#open_selection, #path=, #sorted_matches_for

Constructor Details

#initializeBufferFinder

Returns a new instance of BufferFinder.



7
8
9
10
# File 'lib/command-t/finder/buffer_finder.rb', line 7

def initialize
  @scanner = Scanner::BufferScanner.new
  @matcher = Matcher.new @scanner, :always_show_dot_files => true
end

Instance Method Details

#nameObject



12
13
14
# File 'lib/command-t/finder/buffer_finder.rb', line 12

def name
  'Buffers'
end