Created
December 13, 2013 15:23
-
-
Save ndzj081221130/7945856 to your computer and use it in GitHub Desktop.
ruby
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
> Written with [StackEdit](https://stackedit.io/). | |
ruby的on函数?? | |
on(:after_stop) do | |
end | |
应该是自己实现的_ | |
warden/warden/event_emit.rb | |
link函数的问题? | |
查阅instance.rb < task.rb | |
在instance.rb中,搜health_check | |
warden/em-client | |
warden/client | |
检查response的返回值的内容? | |
从connection.rb中的 | |
link方法??? | |
LinkResponse : exit_status:1 | |
在warden日志中有 | |
server.rb中在container.dispatch(request) | |
dispatch函数在linux.rb < base.rb中。 | |
base.rb 610行新建link_request调用dispatch(request,&blk) | |
inspect函数 → string click to toggle source | |
Returns a string containing a human-readable representation of obj. By default, show the class name and the list of the instance variables and their values (by calling inspect on each of them). User defined classes should override this method to make better representation of obj. When overriding this method, it should return a string whose encoding is compatible with the default external encoding. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment