Is it possible to convert a proc-flavored Proc into a lambda-flavored Proc? Bit surprised that this doesn't work, at least in 1.9.2: my_proc = proc {|x| x} my_lambda = lambda &p my_lambda.lambda? # => false!
ããã°ã©ãã³ã°ç¨èªã«ï¼ä»®å¼æ°ï¼parameterï¼ã¨å®å¼æ°ï¼argumentï¼ã¨ããè¨èãããï¼ããã«ã¤ãã¦è§£èª¬ããï¼ ã¾ãï¼å¼æ°ï¼å¼ã渡ãããæ°ï¼ã¨ã¯ï¼é¢æ°ã«ã¤ããããæ¬å¼§å ã«ããæ°å¤ãããã¯å¤æ°ã®ãã¨ã§ããï¼ãã¨ãã° f(a, b) ã® a 㨠b ãå¼æ°ã§ããï¼ ä»®å¼æ°ã¨ã¯é¢æ°å®ç¾©æã«ä½¿ç¨ãããå¼æ°ã®ãã¨ã§ããã int f(int x, int y) { return x+y; } å®å¼æ°ã¨ã¯ãã®é¢æ°ãå®éã«ä½¿ç¨ããã¨ãã«é¢æ°ã«å¼ã渡ãããå¼æ°ã®ãã¨ã§ããï¼ main() { int a = 5, b = 10; a = f(a, b); } ï¼£è¨èªã§ã¯ï¼é¢æ°ã®å®å¼æ°ã«ã¤ãã¦ã®æ±ºã¾ãäºã¨ãã¦ï¼æ¬¡ã®éè¦ãªãã¨ãããï¼ å®å¼æ°ãé¢æ°ã«å¼ã渡ãããã¨ãï¼ãã®å®å¼æ°èªèº«ã§ã¯ãªãï¼å®å¼æ°ã®ã³ãã¼ãå¼ã渡ãããï¼ ããªãã¡ï¼é¢æ°ã®å´ããè¦ãã¨ï¼å¼ã渡ãããã®ã¯é¢æ°ã®å¤ã«ããå®å¼æ°ãã®ãã®ã§ã¯ãª
ã©ããä½éã§ãããã¬ã¿ã®ã¤ã³ãã©ã¯Engineyardã§ã¯ãªã¯ãªãã£ã¦ããã§ããããã®ããªãã¦ããã®Auroraï¼ããã使ãããã£ãããã§ãã ãã¦ãç§ãæ¸ããåã åã®è¨äºã«ã¦ããã³ã¢æ©è½ã®AWSåããä»å¾ã®TODOã¨ãã¦æãã¦ãã¾ãããã5/9ã«EngineyardããAWSã¸ã®ç§»è¨ãå®äºãã¦ãã¾ãããEngineyardã¯Railsãnodejsãªã©ã®WEB-DBç°å¢ãç°¡åã«æ§ç¯ã§ããPaaSã§ããHerokuã¨ã®éãã¯ãµã¼ãã«sshããããchefãå©ç¨ãã¦Fluentdãªã©ã®ããã«ã¦ã§ã¢ãå ¥ããããæ¢åã®ã³ã³ãã£ã°ã¬ã¼ã·ã§ã³ãã«ã¹ã¿ãã¤ãºããããããã¨ãã§ããç¹ãæãããã¾ããæ¯è¼çèªç±åº¦ã®é«ãPaaSã¨è¨ããã§ãããããã¬ã¿ã§ã¯åµæ¥ãå æã¾ã§ãä¸è©±ã«ãªãã¾ããã ä»åã¯ç§»è¨ã¨Auroraã®éç¨ã«é¢ããTipsã®ç´¹ä»ã«ãªãã¾ãããªããæ¬è¨äºã«ç¤ºãè¨è¨ã»éç¨æ¹éã¯AWSã®ã½ãªã¥ã¼ã·ã§
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}