Skip to content

Commit

Permalink
Tweak to make NullAPI work.
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Dec 21, 2011
1 parent 6b04682 commit 3d5fa65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/rx/null_api.rb
Expand Up @@ -2,8 +2,9 @@ module RX

class NullAPI

def method_missing(m)
def method_missing(*args)
# whatever
return true if args[0] == :end
nil
end
end
Expand Down

0 comments on commit 3d5fa65

Please sign in to comment.