2008/6/10 Michel Son <zul_haq / hotmail.com>:
> The given two classes (TestClass1 and TestClass2) are in a single ruby
> code. I want a code that separate both classes and save them into 2
> diffrent ruby files.
>
> E.g
>
> Orginal code "test.rb" (contains the classes)
> after executing
>
> one file for 1 class "class1.rb"
> second file for second class "class2.rb"
> and so on...
>
> I would be very thankful to you dear

For what exactly?  I mean, opening two files in an editor and copy +
pasting the code there can't be that hard, can it?

Cheers

robert

-- 
use.inject do |as, often| as.you_can - without end