Rubyã®ä¸çã¯ãããã¯ã¨Procã§æº¢ãã¦ãããã ã®ã«ãªããèªåã¯ããã«ç²¾éã§ããªãã®ãï¼Symbol#to_procã¨ããé¢æ°åRubyã¨ãããããªçºæ³ã¯èªåã«ã¯å°åºã§ãããããªããããã°ããããèªåã®é ã®ä¸ã¯Ruby1.8ã§æ¢ã¾ã£ã¦ããããã®ç¶æ ã§ã¯ãRuby1.9以éã«è¿½å ãããæ°ããªè¨æ³ããè¬ã®è¨å·ã«è¦ãã¦ãã¾ã...ã çºæ³ã¯ã§ããªããã©ãããããã³ã¼ããèªãã§æåã§ããèªè§£åã¯æã¡ç¶ãããã調ã¹ã¦ã¿ãã ç°å¢ MacBook Pro Retina15 OSX1 0.9.2 irb(main):001:0> RUBY_VERSION => "2.0.0" $ ruby -v ruby 2.0.0p451 (2014-02-24 revision 45167) [universal.x86_64-darwin13] ãããã¯ã¨ã¯ä½ãï¼ do ... endããããã¯{ ... }ã§
{{#tags}}- {{label}}
{{/tags}}