Job offers
Companies
Tests
Blog
I'm an employer
Sign up
Log in
Group 2@2x
Created with Sketch.
Home
>
IT Tests
>
Questions
>
What is the output of the following Ruby code? `1..5.to_a`
Question from the Ruby (legacy) test
What is the output of the following Ruby code? `1..5.to_a`
Start test
See the Ruby (legacy) test
Easy
What is the class of
'a'..'z'
?
Enumerator
Array
Hash
Range
View the correction
Author: Olivier Milla
Status: Published
Question passed 63 times
Edit
1
Community Evaluations
No one has reviewed this question yet, be the first!
Similar Questions
More questions about Ruby
0
How to add a method to a class in Ruby
0
How to declare a variable in Ruby
0
How to add a getter and setter method to a class in Ruby
0
How to concatenate a string and an integer in Ruby
0
Write a Ruby program that prints the first 100 prime numbers.
Load 5 more similar questions