peleteiro/progressbar — pull request #7 by porras (2012-05-24 16:08:04+00:00)
Title: ProgressBar.new accepts a block

I added a variant with block to ProgressBar.new which, for the simplest cases, I think makes the API a bit nicer. Example:

```ruby
ProgressBar.new("test", 100) do |pbar|
100.times do
sleep 0.1
pbar.inc
end
end
```

This pull request comes with tests and documentation, feel free to modify them if you don't like the style :smiley: