Changes between Version 1 and Version 2 of Old/Tutorials/RubyResources
- Timestamp:
- Sep 29, 2005, 10:15:53 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Old/Tutorials/RubyResources
v1 v2 1 [wiki:WikiStart Orbit] > [wiki:Tutorial Tutorial] > [wiki:HowToWriteScripts Design your own experiment] > Ruby Resources 2 1 3 == Ruby == 2 4 Ruby's syntax is similar to other object-oriented languages like Java or C++. In Ruby everything that is represented is an object, even numbers like 1. Functions or procedures are termed methods and are called using the name of the object, a period, and the name of the method, e.g., node.prototype. Methods in ruby are usually small.