Questions about this topic? Sign up to ask in the talk tab.

Difference between revisions of "Ruby"

From NetSec
Jump to: navigation, search
Line 2: Line 2:
  
 
Matz's goal was to combine powerful features from various other [[programming]] languages, and create a [[programming language]] maximized for developer happiness; as opposed to computational efficiency. Ruby's Object Model mirrors that of Smalltalk, the syntax shares some similarities with [[Bash]], [[Perl]], [[Python]], and the scoping rules for closures was taken from [[LISP]].
 
Matz's goal was to combine powerful features from various other [[programming]] languages, and create a [[programming language]] maximized for developer happiness; as opposed to computational efficiency. Ruby's Object Model mirrors that of Smalltalk, the syntax shares some similarities with [[Bash]], [[Perl]], [[Python]], and the scoping rules for closures was taken from [[LISP]].
 +
 +
= Basics =
 +
 +
== Development Environment ==
 +
 +
== Your first program ==
 +
 +
=== Code ===
 +
=== Explanation ===
 +
 +
 +
== Variables and Data Types ==
 +
=== Scalars ===
 +
=== Arrays ===
 +
=== Hashes or Associative Arrays ===
 +
=== References and Pointers ===
 +
=== Casting ===
 +
 +
 +
== Boolean Logic ==
 +
=== Operators ===
 +
=== Statements ===
 +
=== Helper natives ===
 +
=== Bitwise Manipulations ===
 +
 +
 +
== Loops ==
 +
=== While ===
 +
=== Until ===
 +
=== For ===
 +
=== Iterators ===
 +
 +
 +
== User Input ==
 +
=== CGI ===
 +
=== Command-line Options ===
 +
=== STDIN / Standard Input ===
 +
 +
= Helpful Libraries =
 +
.....

Revision as of 16:29, 12 August 2012

Ruby is an interpreted language, dynamically, reflective, semi-Functional and Object Orientated scripting language written in C. Ruby is said to be semi-Functional because it supports hire-order functions (aka lambdas) and closures (aka blocks). Ruby was created by Yukihiro "Matz" Matsumoto and was first released in 1995.

Matz's goal was to combine powerful features from various other programming languages, and create a programming language maximized for developer happiness; as opposed to computational efficiency. Ruby's Object Model mirrors that of Smalltalk, the syntax shares some similarities with Bash, Perl, Python, and the scoping rules for closures was taken from LISP.

Basics

Development Environment

Your first program

Code

Explanation

Variables and Data Types

Scalars

Arrays

Hashes or Associative Arrays

References and Pointers

Casting

Boolean Logic

Operators

Statements

Helper natives

Bitwise Manipulations

Loops

While

Until

For

Iterators

User Input

CGI

Command-line Options

STDIN / Standard Input

Helpful Libraries

.....