> Jinjing Wang wrote:
> I love indentations too..
> 
> Check out my project for Ruby space convention :/
> 
> http://lazibi.rubyforge.org
> 
> It's code generation.
> 

You don't need to do code generation, at least in the way you have done 
it. I posted a solution way back up this thread that does not require 
the creation of intermediate files to load.

In foo.rb

require 'pyrb.rb'
__END__

def foo:
     [1,2,3,4].each do |i|:
         puts i
         [1,2,3,4].each do |j|:
             puts i
         if i == 2 :
             puts "foo"
         else:
             puts "bar"


foo


See

http://xtargets.com/snippets/posts/show/68

for the details.

--
Brad Phelan
http://xtargets.com