Guest User

Untitled

a guest
Oct 21st, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. # vimcov
  2.  
  3. Vimcov runs a Ruby script and opens Vim marking the lines that were actually run.
  4.  
  5. This could be useful when debugging long methods with lots of branching -- instead of abusing `puts`, you can just use Vimcov and you're good to go.
  6.  
  7. It runs only in Ruby 1.9.x.
  8.  
  9. Future versions will include more tight integration with test runs or Rails or whatever.
  10.  
  11. ## Usage
  12.  
  13. ./vimcov my_script.rb
  14.  
  15. It will open vim and mark the lines that were actually run :D
Add Comment
Please, Sign In to add comment