To day I am trying out Ruby support in NetBeans.

Here is my  Fibonacci application.

def Fibonacci(n)
  if n <= 1
     return n
  else
    return   Fibonacci(n-1) + Fibonacci(n-2)
  end
 end

 
 for i in 1..20
 print Fibonacci(i), "\n"
 end

Now I am able to run this application.

NetBeans Ruby team is actively working on Ruby debugging support in NetBeans IDE.

Ruby support in NetBeans

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed

This blog copyright 2009 by pcmreddy