2013å¹´12æ25æ¥ãããã§ã¨ããããã¾ããRuby 2.1.0ããªãªã¼ã¹ããã¾ããï¼ æ¥æ¬æéã§26æ¥ã¨ããç´°ããçªã£è¾¼ã¿ããã¦ããå ´åã§ã¯ããã¾ããã ã¾ã 使ã£ããã¨ããªãæ¹ãç°¡åã«å¤æ´ç¹ãè¦ã¦ã¿ã¾ãããã ææ³ã®å¤æ´ ããã©ã«ãå¤ãä¼´ããªããã¼ã¯ã¼ãå¼æ° Ruby 2.0ãåºãã¨ããã誰ããæã£ã¦ããçåãããªãã§ãã¼ã¯ã¼ãå¼æ°ã¯ããã©ã«ãå¤å¿ é ãªãã ï¼ããã¤ãã«è§£æ¶ããã¾ããã以ä¸ã®è¨æ³ã§ãããã©ã«ãå¤ãã¤ããªããã¼ã¯ã¼ãå¼æ°ã宣è¨ã§ãã¾ãããã®å ´åãå¼ã³åºãæã«å¯¾å¿ããå®å¼æ°ã渡ããªãã¨ArgumentErrorã«ãªãã¾ãã def hello(name: ) puts name end hello(name: "taro") # => taro hello # => ArgumentError: missing keyword: name ãã¼ã¯ã¼ãå¼æ°å士ã§ã¯ããã©ã«ãå¼æ°
{{#tags}}- {{label}}
{{/tags}}