irb便å©ãã§ãèªåecho ã®å¤æ°inspectãå¦çé ãã¦å°ãã巨大ãªãã¡ã¤ã«ãæã¤ãªãã¸ã§ã¯ãï¼ãã¨ãã°Mechanizeï¼ãæ±ã£ã¦ããã¨ä¸ä¾¿ã ã
irbèµ·åä¸ã®ãecho ãOff
irb èµ·åä¸ã§ãecho on/off ã§ãããã§ããã
ãªãã«ãã
irb>> conf.echo = false #ãªã
ãªã³ã«ãã
irb>> conf.echo = true #ãªã
ãã¶ãã³ã¬ãä¸çªä¾¿å©ã§ãã
以ä¸ã¯ç¥ã£ã¦ã¦ããã¾ã使ããªãã®ã«ãææã¡ã®æ¸ç±ã ã¨å¿ ãç´¹ä»ããã¦ããæ¹æ³ã¨ãã
èµ·åæã«é¸æãã
å§ãããè¦ããªãããã£ã¦ã¨ã㯠irb ã®èµ·åãªãã·ã§ã³ã§æ±ºãããã
takuya@atom:~$ irb --noecho >> (0...100).map >>
irbrc ã«è¨å®ãã
conf[:ECHO]=false
çµå±ãå¿
è¦ã®ç¡ãã¨ãã«On/OFFåæ¿ããããã°è¯ãã®ã§ã conf.echo = true /false ãè¦ãã¦ããã®ãä¸çªå¹çã®è¯ãæ¹æ³ã ã¨æãã
èªåã¨ã³ã¼ã¯ä¾¿å©ã ãã©ï¼å¤§ãããªãã¨ã©ããã¦ãä¸ä¾¿ãç¹ã« active_record ã§å¤§éã«ãªãã¸ã§ã¯ãåã£ã¦ãã¨ãã§ãã©ããã¦ãåºåå¾ ã¡ãã¿ã¤ã ãã¹ã«ãªã£ã¦ãã¾ãã