current community
chat
Stack Overflow
Meta Stack Overflow
your communities
Sign up
or
log in
to customize your list.
more stack exchange communities
company blog
Stack Exchange
Inbox
Reputation and Badges
sign up
log in
tour
help
Tour
Start here for a quick overview of the site
Help Center
Detailed answers to any questions you might have
Meta
Discuss the workings and policies of this site
About Us
Learn more about Stack Overflow the company
Business
Learn more about hiring developers or posting ads with us
Stack Overflow
Questions
Jobs
Documentation
Tags
Users
Badges
Ask Question
Ruby Language
dashboard
all topics
Popular
Topic
You must
sign up
or
log in
to make a topic request.
63 Topics
11
requests
active
popular
Getting started with Ruby Language
Introduction Topic
22
Hello World
13
Hello World with Shebang (Unix-like operating systems only)
4 more examples
0 improvement requests
0 proposed changes
edited
Oct 26 at 4:54
+3
Hashes
All Versions
78
Creating a hash
39
Setting Default Values
9 more examples
0 improvement requests
0 proposed changes
edited
Nov 8 at 12:37
+38
Control Flow
All Versions
23
if, elsif, else and end
16
Case statement
12 more examples
0 improvement requests
0 proposed changes
edited
Nov 19 at 12:19
+19
Arrays
All Versions
10
Create Array of Strings
6
Create Array of Symbols
18 more examples
0 improvement requests
0 proposed changes
edited
Nov 8 at 12:55
+22
Exceptions
All Versions
10
Handling multiple exceptions
9
Creating a custom exception type
3 more examples
0 improvement requests
0 proposed changes
edited
Dec 3 at 18:54
+9
Inheritance
All Versions
7
Subclasses
3
Multiple Inheritance
3 more examples
0 improvement requests
0 proposed changes
edited
Dec 2 at 15:11
+6
Methods
All Versions
6
Yielding to blocks
2
Default parameter
9 more examples
0 improvement requests
0 proposed changes
edited
Oct 10 at 11:24
+8
Gem Usage
All Versions
5
Installing ruby gems
3
Checking if a required gem is installed from within code
3 more examples
0 improvement requests
0 proposed changes
edited
Dec 5 at 15:59
+3
Numbers
All Versions
3
Converting a String to Integer
3
Creating an Integer
6 more examples
0 improvement requests
0 proposed changes
edited
1 hour ago
+4
Strings
All Versions
4
Difference between single-quoted and double-quoted String literals
2
Creating a String
14 more examples
0 improvement requests
0 proposed changes
edited
Nov 8 at 19:30
+7
Loading Source Files
All Versions
2
Automatically loading source files
2
Loading files repeatedly
3 more examples
0 improvement requests
0 proposed changes
edited
Oct 19 at 7:33
Design Patterns and Idioms in Ruby
All Versions
4
Observer
3
Decorator Pattern
1 more example
0 improvement requests
0 proposed changes
edited
Sep 21 at 14:57
Classes
All Versions
5
Constructor
2
Access Levels
6 more examples
0 improvement requests
0 proposed changes
edited
Oct 11 at 20:50
+11
Blocks and Procs and Lambdas
2.0–2.3
6
Lambdas
3
Objects as block arguments to methods
3 more examples
1 improvement request
0 proposed changes
edited
Aug 4 at 9:28
+4
Iteration
All Versions
3
Each
1
For iterator
4 more examples
0 improvement requests
0 proposed changes
edited
Nov 23 at 12:54
+4
Modules
All Versions
2
A simple mixin with include
2
Modules and Class Composition
2 more examples
0 improvement requests
0 proposed changes
edited
Oct 19 at 14:51
Operators
All Versions
5
Operator Precedence and Methods
1
Case equality operator (===)
1 more example
0 improvement requests
0 proposed changes
edited
Nov 24 at 15:02
Symbols
All Versions
2
Converting a String to Symbol
2
Converting a Symbol to String
1 more example
0 improvement requests
0 proposed changes
edited
Aug 4 at 14:16
+3
Metaprogramming
1.9–2.3
4
Implementing "with" using instance evaluation
1
Defining methods dynamically
1 more example
0 improvement requests
0 proposed changes
edited
Oct 15 at 4:05
+1
Variable Scope and Visibility
All Versions
1
Class Variables
1
Global Variables
2 more examples
0 improvement requests
0 proposed changes
edited
Aug 3 at 16:13
1
2
3
4
next
Introduction Topic
Getting started with Ruby Language
Hello World
Hello World with Shebang (Unix-like operating systems only)
Hello World from IRB
Hello World without source files
Hello World with tk
My First Method
Stack Overflow works best with JavaScript enabled