C
Christoph Klocker
sorry for this newbie question, just started ruby programming today,
Try to work me through the book Programming Ruby
the script:
#!/usr/local/bin/ruby
a = [ "a", "b", "c" ]
a.include?("b")
returns me nothing,
if I do the same in "irb"
it returns "true"
why does it not work in the shell script??
Try to work me through the book Programming Ruby
the script:
#!/usr/local/bin/ruby
a = [ "a", "b", "c" ]
a.include?("b")
returns me nothing,
if I do the same in "irb"
it returns "true"
why does it not work in the shell script??