Thanks, I guess I'm going to have to find the time to install 1.9.
Those darn clients take up too much time with their problems! And in
this case it's problems with a big wad o'php I just inherited. A sorry
mess which is a prime candidate for takeover by assimilation by ruby
code, once I understand enough of what it's supposed to do.
ยทยทยท
On 9/19/06, MonkeeSage <MonkeeSage@gmail.com> wrote:
Just for posterity, it may be worth pointing what Eero hinted at. If
you add a to_ary method to Range / String in 1.9, then you get the old
behavior for the use cases that show differences (e.g., [*(1..10)] ):
class Range
ย ย def to_ary
ย ย ย ย self.inject([]) { |ary, item| ary << item }
ย ย end
end
Those darn clients take up too much time with their problems! And in
this case it's problems with a big wad o'php I just inherited. A sorry
mess which is a prime candidate for takeover by assimilation by ruby
code, once I understand enough of what it's supposed to do.
"Resistance is futile; we will take your knowledge and add it to the
collective. You will be assimilated" hehe!
On 9/19/06, MonkeeSage <MonkeeSage@gmail.com> wrote:
Just for posterity, it may be worth pointing what Eero hinted at. If
you add a to_ary method to Range / String in 1.9, then you get the old
behavior for the use cases that show differences (e.g., [*(1..10)] ):