Created
February 12, 2010 05:26
-
-
Save nayutaya/302329 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 「タスクキューを追加てきない不具合」を修正するモンキーパッチ | |
# 対象はappengine-apis-0.0.12 | |
module AppEngine | |
module Labs | |
module TaskQueue | |
class Task | |
def add(queue=nil) | |
queue = Queue.new unless queue.kind_of? Queue | |
@handle = queue.java_queue.add(_task) | |
self | |
end | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment