>>>>> "B" == Bob <clarke@qualitythink.com> writes:
B> a.sort
Array#sort return a copy of the array.
uln% ruby -e 'a=["b", "a", "d"]; b = a.sort; p a, b'
["b", "a", "d"]
["a", "b", "d"]
uln%
You want Array#sort! if you want modify the object
uln% ruby -e 'a=["b", "a", "d"]; a.sort!; p a'
["a", "b", "d"]
uln%
B> print "yada yada #(inline_string) yada yada " =>prints as "yada yada
B> #(inline_string) yada yada" not "yada yada yo yada yada"
You want #{inline_string}, i.e. {} rather than ()
Guy Decoux