README.md in with_last-0.1.0 vs README.md in with_last-0.1.1
- old
+ new
@@ -1,5 +1,7 @@
+[![Gem Version](https://badge.fury.io/rb/with_last.svg)](https://badge.fury.io/rb/with_last)
+
# with_last.rb
Add `each_with_last` to `Array`.
## Installation
@@ -15,10 +17,10 @@
## Usage
```ruby
[1,2,3,4,5,6].each_with_last { |item, is_last|
puts item
- puts 'to be continued' unless is_last
+ puts is_last ? 'done' : 'to be continued'
}
```
```erb