2015-10-01から1日間の記事一覧
DATAとEND。全て大文字 while DATA.gets puts $_ if $_ =~ /Ruby/ end #=> Ruby the prgoramming language __END__ Java the prgoramming language Ruby the prgoramming language Python the prgoramming language 下記とほぼ同じ DATA.each do |str| puts …
DATAとEND。全て大文字 while DATA.gets puts $_ if $_ =~ /Ruby/ end #=> Ruby the prgoramming language __END__ Java the prgoramming language Ruby the prgoramming language Python the prgoramming language 下記とほぼ同じ DATA.each do |str| puts …