just use load statement..

load "end.rb"

additional info here:
http://ruby-doc.org/ruby-1.9/classes/Kernel.html#M002614

-- 
Posted via http://www.ruby-forum.com/.