The Programmer
Dictonary

Greg Ptasinski

Spencer Rohan

RUBY
Array

Definition

An ordered container. Key to the container is always a number starting at 0.


Examples

[ ]
[1, 2, 3, 4, 5]
["Red", "Blue", "Green"]
[1, 2, "Freddy", "Is Coming", "For You!"]

Links

Ruby Docs: Array

Hash

Definition

An ordered container of key => value pairs. Where values AND keys can be set.


Examples

{ }
{"Blue" => [1, 2, 3, 4]}
{"Batman" => "Robin", "Lone Ranger" => "Tonto"}
{12:"Eggs", 11:"Ace", 10:"Pins"}

Links

Ruby Docs: Hash

Loop

Definition

Executing a block as long as conditions are met. Looping stops after conditions change.


Examples

#while
#for
#until

Links

Codecademy: While Loops

Codecademy: For Loops

Codecademy: Until Loops

Method

Definition

Statement bound in a single unit. Used for one object to talk to another.


Examples

def method_name(arg)
  arg + 2
end

To call method: method_name(12);

See Also

OverAPI.com: Ruby

JavaScript
Array

Definition

An ordered container. Key to the container is always a number starting at 0.


Examples

[ ]
[1, 2, 3, 4, 5]
["Red", "Blue", "Green"]
[1, 2, "Freddy", "Is Coming", "For You!"]

Links

MDN: Array

Function

Definition

Statement bound in a single unit. Used for one object to talk to another.


Examples

function name(arg){
  arg + 2
}

To call function: function(12);

Links

w3schools: Functions

Loop

Definition

Executing a block as long as conditions are met. Looping stops after conditions change.


Examples

for (var x = 0; x < 10; x++){ };
for (x in y)
#while

Links

Codecademy: While Loops

Codecademy: For Loops

Codecademy: For In Loops

Object

Definition

An ordered container of key => value pairs. Where values AND keys can be set.


Examples

{ }
{"Blue" => [1, 2, 3, 4]}
{"Batman" => "Robin", "Lone Ranger" => "Tonto"}
{12:"Eggs", 11:"Ace", 10:"Pins"}

Links

w3schools: Objects

Object Method

Definition

A function set as a value in an object.


Examples

object_name = {
  object_key : function(){BLOCK};
}


SEE ALSO: Function, Object

Links

w3schools: Object Methods

See Also

OverAPI.com: JavaScript

w3schools: JavaScript

References
OverAPI

Overapi.com

Ruby Docs

Ruby-doc.org

w3schools

w3schools.com

HTML/CSS
See Also

OverAPI.com: HTML

OverAPI.com: CSS

SQL
See Also

OverAPI.com: MySQL

Videos & Tutorials