A
AJS
title="Title"
subtitle="Subtitle"
body="Body"
[title,subtitle,body].each {|item| item.downcase!}
This successfully sets the original variables to "title", "subtitle",
"body"
BUT
[title,subtitle,body].each {|item| item=""}
has no effect.
Why doesn't this work? How can I make it work?
thanks
subtitle="Subtitle"
body="Body"
[title,subtitle,body].each {|item| item.downcase!}
This successfully sets the original variables to "title", "subtitle",
"body"
BUT
[title,subtitle,body].each {|item| item=""}
has no effect.
Why doesn't this work? How can I make it work?
thanks