On Sat, Mar 15, 2014 at 3:27 PM, Arup Rakshit <lists / ruby-forum.com> wrote:
> Xavier Noria wrote in post #1139995:
>> On Sat, Mar 15, 2014 at 9:05 PM, Arup Rakshit <lists / ruby-forum.com>
>> wrote:
>>
>> I guess there is a misunderstanding somewhere, ERB#run says in its
>> documentation that it prints the result.
>>
>> Maybe you interpret something else due to some issue with the English
>> sentence?
>
> I got it now they will work same way ( only 2 doors for the same room ),
> as you involved.. :-)

No, they are different.

run *calls* result and *prints* it, as in displays it on STDOUT.

result merely returns the processed input as a string.