Tour
About Us
Meta
Loading…
current community
Stack Exchange
chat
Meta Stack Exchange
your communities
Sign up
or
log in
to customize your list.
more stack exchange communities
company blog
Log in
Stack Exchange
All Sites
Top Users
Digests
a -
top
accounts
reputation
activity
subscriptions
Top Questions
8
votes
Why are only a limited number of regular expression captures stored in `global_variables`?
ruby
regex
pseudo-globals
asked Jan 9, 2016 at 9:21
stackoverflow.com
6
votes
Why does the default year of a new instance of the Date class equal -4712?
ruby
asked Nov 15, 2015 at 8:12
stackoverflow.com
5
votes
How can I show that the Ruby `for` loop is in fact implemented using the `each` method?
ruby
loops
for-loop
each
asked Oct 3, 2016 at 20:23
stackoverflow.com
Top Answers
59
Best way to convert strings to symbols in hash
stackoverflow.com
34
How do I print the line number of each line in a string?
stackoverflow.com
19
Ruby: Is there an opposite of include? for Ruby Arrays?
stackoverflow.com
13
Ruby: How to add 10 years to DateTime.now
stackoverflow.com
12
How to lowercase only the first character of a string in Ruby?
stackoverflow.com
10
Is there a good way to calculate sum of range elements in ruby
stackoverflow.com
10
How to duplicate value of array in ruby
stackoverflow.com
9
How to print an escape character in Ruby?
stackoverflow.com
8
Removing multiple elements from array by index in Ruby
stackoverflow.com
8
Find number deleted from array
stackoverflow.com
7
Counting and computing the average length of words in ruby
stackoverflow.com
7
Why can I not break from a `while` loop in ruby?
stackoverflow.com
7
Can anyone tell me what the purpose of a Gemspec file in Ruby is?
stackoverflow.com
7
Integer to array of chunks
stackoverflow.com
6
Max value within array of objects
stackoverflow.com
6
Why is File.read('/path/to/file') not in Ruby docs?
stackoverflow.com
6
Is there any way to get numbers separated by comma?
stackoverflow.com
5
Create a regex that returns an array
stackoverflow.com
5
Replacing hyphens in words with the next letter capitalized
stackoverflow.com
5
How to express the variable in absolute value form
stackoverflow.com
5
How do I convert every element in an array to its own array?
stackoverflow.com
5
Best way to replace nils from array with elements of another array
stackoverflow.com
5
Find the longest word using inject method
stackoverflow.com
5
Removing elements from an array non-destructively
stackoverflow.com
5
Split an array by a repetitive value
stackoverflow.com
5
How to get integer value while adding new method to Integer class
stackoverflow.com
5
Ruby zip 3 arrays in two steps
stackoverflow.com
5
Re-order ruby array
stackoverflow.com
5
Switch every pair of characters in a string in Ruby
stackoverflow.com
Stack Exchange works best with JavaScript enabled