Skip to content

Commit

Permalink
Fix documented csv.row example
Browse files Browse the repository at this point in the history
  • Loading branch information
paulspringett committed Jul 25, 2012
1 parent a0440be commit 7edcc28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ Paul,27,United Kingdom
#### Passing a model to a block

```ruby
csv.row @user, do |csv, user|
csv.row @user do |csv, user|
csv.cells :name, :age
if user.show_gender?
csv.cell :gender
Expand Down

0 comments on commit 7edcc28

Please sign in to comment.