Monday, January 21, 2008

The second Ruby on Sketchup

The next tip I learned was to define a function. This time I named it 'helloWorld' as it is.



I overwrote the helloWorld.rb in the same directory as it was.
I opened 'Ruby Console' by Window >> Ruby Console.
Then I typed helloWorld to see the result.
Cool.

No comments: