Ruby Interview Questions
Questions Answers Views Company eMail

How an exception is handled in Ruby?

5

Explain the use of ensure statement in Ruby?

5

Who is the developer of Ruby?

5

How to read a file in Ruby?

5

How to open a file in Ruby?

5

Why Ruby is known as a language of flexibility?

5

Explain Ruby object?

5

what the difference is between false and nil in Ruby?

5

How will you rename and delete a file in Ruby?

5

Explain Ruby exceptions?

5

what is the difference between a single quote and double quote?

5

Explain how Symbol is different from variables?

5

what is class libraries in Ruby?

5

what is the difference between a gem and a plugin in Ruby?

5

what is the syntax for Ruby collect Iterator?

5


Post New Ruby Questions

Un-Answered Questions { Ruby }

Explain about environment variables present in ruby?

5


Explain ruby ranges. What are the ways to define ranges?

1


Explain ruby class.

1


Explain until loop in ruby.

1


Explain raise statement in Ruby?

5






What are the different uses of ruby modules?

5


In how many ways a block is written in Ruby?

3


Tell me how you can create a controller for subject?

1


What are advantages of using ruby?

5


How is object methods defined in ruby?

5


Explain about interpolation?

5


Explain class libraries in ruby.

1


In Ruby code, often it is observed that coder uses a short hand form of using an expression like array.map(&:method_name) instead of array.map { |element| element.method_name }. How this trick actually works?

5


What are blocks and procs?

1


What is the difference between a class and a module?

5