--0-1597279020-11441763898522
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

i'm using RADRails 0.61 on Windows XP for both Rails and plain Ruby coding.
In my first plain ruby code debugging session, i encountered the following problem:

ruby 1.8.4 debugger listens on port 2385

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

the code i was trying to practice debugging on is shown below. 

def one(arg)
  puts "arg  {arg}"
  if block_given?
    "block given to 'one' returns #{yield}"
  else
    arg
  end
end

def two
  if block_given?
    "block given to 'two' returns #{yield}"
  end
end

result1  ne two {
  "three"
}  

result2  ne two do
  "three"
end

puts "With braces, result  {result1}"
puts "With do/end, result  {result2}"



		
---------------------------------
How low will we go? Check out Yahoo! MessengerÃÔ low  PC-to-Phone call rates.
--0-1597279020-11441763898522--