Today while working with ruby i noticed one more surprising behaviour of ruby.
What should be the results?
Well i was expecting to be printed like “Ruby”,”On”,”Rails” but the result was “RubyonRails”, “On”, “Rails”. To understand this behaviour i did some more experiments in “irb”
Now the question is, Why arg1 is interpreted as an array? and why not the arg2?