Skip to content

Commit

Permalink
Words & 1.8.7 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
ianwhite committed Nov 23, 2013
1 parent 21f93bf commit b7d9a0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions History.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## master

* Adds Kernel#hearken
* Adds coveralls & History

## 0.0.3
Expand Down
2 changes: 1 addition & 1 deletion lib/hark/core_ext.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ def to_hark *args, &block

def hearken method, *args, &block
listener = (block.arity == 1) ? hark(&block) : block.call
send method, *args, listener
send method, *args + [listener]
end
end

0 comments on commit b7d9a0b

Please sign in to comment.