ãã¯ããã¸ã¼é¨é㧠Ruby ã¤ã³ã¿ããªã¿ã®éçºããã¦ãã笹ç°ã§ããRubyKaigi 2024 楽ãã¿ã§ããã ãã¦ãRuby ã®ã¡ã½ãããå®ç¾©ããã¨ããä»®å¼æ°ãããå ´åãã«ãã³ãçç¥ãããã¨ãã§ãã¾ãã def foo(x, y) end def bar x, y end bar ã®å®ç¾©ã®æ¹æ³ã§ãããç§ã¯å¥½ãã§ãã®æ¸ãæ¹ããã¦ããã§ãããååã®é è¤ããã«ããããªæ¸ãæ¹ããã¦ããã®ã¯ä»æ笹ç°ã ãã ãã¨è¨ããã¦ã·ã§ãã¯ãåããã®ã§ãã¡ãã£ã¨èª¿ã¹ã¦ã¿ã¾ããã ã¡ãªã¿ã«ãã«ãã³ããªãã¨ä½¿ããªãã¡ã½ããå®ç¾©ã®æ¹æ³ãããã®ã§ããã®æã«ã¯æ¶ãåãã§ã«ãã³ãã¤ãã¾ãã def foo(kw:) # å¿ é ãã¼ã¯ã¼ãå¼æ° end def bar(&) # ç¡åãããã¯å¼æ° end è£è¶³ï¼ï¼Ruby ã§ã¯ãã¡ã½ããå¼ã³åºãæã«ã«ãã³ãã¤ãããã©ãããã«ãããããªè«äºãããã¾ãããããã§ã¯ãã¡ã½ãããå®ç¾©ãã
{{#tags}}- {{label}}
{{/tags}}