Skip to content

Commit

Permalink
Fixing syntax error in README
Browse files Browse the repository at this point in the history
  • Loading branch information
Logan Serman committed Jan 12, 2015
1 parent a2122c1 commit d545eb3
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 @@ -27,7 +27,7 @@ initialized.

UpAndAtThem::Transaction[
UpAndAtThem::Commit.new { puts "do something!" }.on_rollback { "undo something!" },
UpAndAtThem::Commit.new { puts "do something else!" }.on_rollback { "undo something else!" },
UpAndAtThem::Commit.new { puts "do something else!" }.on_rollback { "undo something else!" }
]

The `UpAndAtThem::Transaction` array can contain any classes that respond to `#call` and `#rollback`. The
Expand Down

0 comments on commit d545eb3

Please sign in to comment.