Ruby Tutorial: 01.def

January 24, 2010 at 2:39 AM | Posted in Tutorial | Comments Off on Ruby Tutorial: 01.def
Tags: , , ,

Code: def

Syntax: def $$$

Syntax2: def $$$.$$$

Description: Replace $$$ with a string ex def start or def self.start

Usage: Used as commands for Ruby Scripts to process the statement perfectly. USED IN CLASSES AND MODULES

Advertisements

Blog at WordPress.com.
Entries and comments feeds.

%d bloggers like this: