Sha256: 0935d03b5cf1816015253f65d0f6dafd76f0be38c23afb00086793d2cb9a4a1b
Contents?: true
Size: 409 Bytes
Versions: 2
Compression:
Stored size: 409 Bytes
Contents
module VER class Executor class ExLocate < Entry def setup self.update_on_change = false end def choices(name) return [] if name.strip.empty? `locate -b0 '#{name}'`.split("\0") end def action(path) throw(:invalid) if File.directory?(path) VER.find_or_create_buffer(path) callback.destroy(false) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ver-2010.08 | lib/ver/executor/locate.rb |
ver-2010.02 | lib/ver/executor/locate.rb |