2007-12-15 追記 Ruby だとこう書くらしい。 if s.include?(t) ... end ここにまとめがありました。 http://0xcc.net/blog/archives/000137.html