Rubyã«ã¯ã³ã¼ãçã表ããªãã¸ã§ã¯ããè¤æ°ããã Method , UnboundMethod , Proc ã§ããã Continuation ã¯å°ãéããã©ãå®è¡ã³ã³ããã¹ããè¨æ¶ãã¦ãããªãã¸ã§ã¯ãã¨ããæå³ã§ã¯è¿ããã®ãããããã Ruby Way ãã«ã¯ããããããããããããã¨ã«ã¤ãã¦ãé©ãã»ã©ã®ãã¨ã§ã¯ããã¾ãããã¨æ¸ãã¦ããããã©ãç§ã¯é©ãããã§ãããããå¾®å¦ã«éãã®ã ãå°ã£ãããã ãããã便å©ãªã®ãããããªããã ããã§ä»åã¯ãããã®æ¦è¦ãçºãã¦ã¿ããã¨æãã æ®éã®ã¡ã½ãã defã§ã¡ã½ãããå®ç¾©ããã®ãä¸çªæ®éã ããªã class C def greeting(arg) puts "C#greeting reveived #{arg}" end def iterator yield 'iterator 1st' yield 'iterator 2nd' yield
{{#tags}}- {{label}}
{{/tags}}