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.
59 Topics
13
requests
active
popular
Getting started with Ruby Language
Introduction Topic
13
Hello World
11
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
71
Creating a hash
39
Setting Default Values
9 more examples
0 improvement requests
0 proposed changes
edited
Oct 16 at 9:39
+37
Control Flow
All Versions
20
if, elsif, else and end
15
Case statement
12 more examples
0 improvement requests
0 proposed changes
edited
Oct 4 at 13:44
+18
Arrays
All Versions
9
Create Array of Strings
5
Create Array of Symbols
18 more examples
0 improvement requests
0 proposed changes
edited
Oct 27 at 19:51
+21
Exceptions
All Versions
9
Creating a custom exception type
9
Handling multiple exceptions
3 more examples
0 improvement requests
0 proposed changes
edited
Oct 11 at 20:34
+7
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
Numbers
All Versions
3
Converting a String to Integer
3
Creating an Integer
6 more examples
0 improvement requests
0 proposed changes
edited
2 days ago
+4
Gem Usage
All Versions
4
Installing ruby gems
3
Checking if a required gem is installed from within code
2 more examples
0 improvement requests
0 proposed changes
edited
Oct 15 at 17:51
+2
Inheritance
All Versions
5
Subclasses
2
Multiple Inheritance
3 more examples
0 improvement requests
0 proposed changes
edited
Sep 23 at 14:53
+4
Classes
All Versions
5
Constructor
2
Access Levels
6 more examples
0 improvement requests
0 proposed changes
edited
Oct 11 at 20:50
+11
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
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
Aug 29 at 20:55
+6
Design Patterns and Idioms in Ruby
All Versions
3
Observer
3
Singleton
1 more example
0 improvement requests
0 proposed changes
edited
Sep 21 at 14:57
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
Oct 19 at 14:43
+3
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
Operators
All Versions
4
Operator Precedence and Methods
1
Case equality operator (===)
0 improvement requests
0 proposed changes
edited
Aug 1 at 21:54
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
Singleton Class
All Versions
1
Accessing Instance/Class Variables in Singleton Classes
1
Accessing Singleton Class
5 more examples
0 improvement requests
0 proposed changes
edited
Oct 14 at 11:54
+1
Catching Exceptions with Begin / Rescue
All Versions
1
A Basic Error Handling Block
1
Checking for Different Errors
4 more examples
0 improvement requests
0 proposed changes
edited
Oct 11 at 16:38
1
2
3
next
Upcoming Events
2016 Community Moderator Election
ends
Nov 22
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 Function
Stack Overflow works best with JavaScript enabled