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

Ruby

From NetSec
Revision as of 17:29, 12 August 2012 by LashawnSeccombe (Talk | contribs)

Jump to: navigation, search

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 higher-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

.....