Skip to content

Commit

Permalink
Removed silly array extension.
Browse files Browse the repository at this point in the history
  • Loading branch information
nakajima committed Aug 17, 2009
1 parent c55e973 commit 9ce80c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
3 changes: 2 additions & 1 deletion lib/aspectory/callbacker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ def callbacks_for(position, method_id, *results, &block)
else
callbacks.map { |callback|
if callback.is_a?(Proc)
instance_exec(*results.enqueue(block), &callback)
results.unshift(block) if block
instance_exec(*results, &callback)
else
method(callback).arity_match?(results) ?
send(callback, *results, &block) :
Expand Down
7 changes: 0 additions & 7 deletions lib/core_ext/array.rb

This file was deleted.

0 comments on commit 9ce80c7

Please sign in to comment.