From: Hannes Wyss Date: 2006-01-12T23:03:24+09:00 Subject: Re: newbie: functions don't work in script Christoph, your script doesn't do anything with the return-value of 'include?' try this: #!/usr/local/bin/ruby a = [ "a", "b", "c" ] p a.include?("b")