lib/rush/commands.rb in dysinger-rush-0.4 vs lib/rush/commands.rb in dysinger-rush-0.4.1221060147
- old
+ new
@@ -38,18 +38,6 @@
entries.inject(0) do |count, entry|
count += entry.lines.size if !entry.dir?
count
end
end
-
- # Invoke vi on one or more files - only works locally.
- def vi(*args)
- names = entries.map { |f| f.full_path }.join(' ')
- system "vim #{names} #{args.join(' ')}"
- end
-
- # Invoke TextMate on one or more files - only works locally.
- def mate(*args)
- names = entries.map { |f| f.full_path }.join(' ')
- system "mate #{names} #{args.join(' ')}"
- end
end