Permalink
Browse files

fix Tarantool::DB.method_missing

  • Loading branch information...
funny-falcon committed Mar 21, 2014
1 parent 4c8a197 commit 0d16fb41c84ddf52a8a00180f79f95ffa11e3c76
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/tarantool.rb
View
@@ -115,9 +115,9 @@ def query
@query ||= self.class::Query.new(self)
end
- def method_missing(name, *args)
+ def method_missing(name, *args, &block)
if query.respond_to?(name)
- query.send(name, *args)
+ query.send(name, *args, &block)
else
super
end

0 comments on commit 0d16fb4

Please sign in to comment.