目的 説明:この文書は、「Ruby は初めてだが他の言語でのプログラミング 経験はある」という技術者向けのものである。 Ruby のすべてを説明するものではないが、プログラミング経験者 の立場から、最低限必要だと思われる情報を網羅している。 print 書式:print( aaa, bbb, ccc, ... ) 例文:print( "ruby ver", "1.8.4" ) 補足:自動改行しないので、改行したいときは "�n" を使うこと puts 書式:puts( aaa, bbb, ccc, ... ) 例文:puts( "ruby", "ver 1.8.4" ) 補足:各引数ごとに自動改行する p 書式:p aaa 説明:プログラマ向け。デバッグ時のオブジェクトの内容確認用 pp 書式:pp aaa 説明:プログラマ向け。デバッグ時のオブジェクトの内容確認用 補足:プログラムの先頭