æ¦è¦ Ruby ã® å®çªå¯¾è©±ãã¼ã« pry å¾¹åºæ»ç¥ Normal Input ã«ã¤ã㦠How to Intput & Execute Ruby ã®ã³ã¼ããå ¥åãããã¨å ¥åããå 容ãå®è¡ããæ»ãå¤ãæ¨æºåºåãã¾ã ä¾ï¼ å ¥åã¨å®è¡ [2] pry(main)> 'hello, pry' => "hello, pry" [3] pry(main)> [*1..5] => [1, 2, 3, 4, 5] [4] pry(main)> [*1..5].reduce(&:+) => 15 Clear Input Buffer ã¡ã½ãããã¯ã©ã¹å®ç¾©ãªã©ãè¤æ°è¡ã®è¨è¿°ããã¦ããéä¸ã« ééãã¦ãã¾ã£ãå ´åã¯ã ! ãå©ç¨ããã¨é常ã®å ¥åã¢ã¼ãã«æ»ãã¾ãã å ¥åéä¸ã« def ã defa ã¨å ¥åãã¦ãã¾ã£ã¦ãã£ã³ã»ã«ãããå ´åã¯ã ä¸è¨ã®ããã«ãªãã¾ãã ä¾ï¼ ! ã«ãããããã¡ã¯ãªã¢
{{#tags}}- {{label}}
{{/tags}}