the_if = if.new
the_then = then.new
then_end = end.new
the_else = else.new

the_if(1==2) the_then
   
the_else()
the_end


Yeah... I can't make sense of it either.


Jason Roelofs wrote, On 5/10/2007 2:39 PM:
> Tell him to find a more substantial argument. That's the lamest 
> complaint I
> think I've ever heard about Ruby or dynamic languages in general.
>
> Or better yet, tell him to design a language that has "if" "unless" 
> etc as
> objects and see where that goes. What does having if/unless as objects 
> even
> mean?
>
> Jason
>
> On 5/10/07, Lucas Holland <hollandlucas / gmail.com> wrote:
>>
>> Hi,
>>
>> I've got someone here saying that Ruby (and other languages) can't be
>> 100% object-oriented because if and unless and so on (keywords) are no
>> objects.
>>
>> How can I defend the claim that Ruby is 100% OOP?
>>
>> -- 
>> Posted via http://www.ruby-forum.com/.
>>
>>
>