Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
raxoft committed May 18, 2016
1 parent f4421e4 commit 85aa5fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/future.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ def __force__
# @param [Symbol]
# @return [Boolean]
def respond_to?(method, include_all=false)
:force.equal?(method) || :__force__.equal?(method) || (__force__; @promise).respond_to?(method, include_all)
:force.equal?(method) || :__force__.equal?(method) || __force__.respond_to?(method, include_all)
end

private

def method_missing(method, *args, &block)
(__force__; @promise).__send__(method, *args, &block)
__force__.__send__(method, *args, &block)
end
end

Expand Down

0 comments on commit 85aa5fe

Please sign in to comment.