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 }

How ruby looks up a method to invoke?

1


Explain ruby strings.

1


What are the object-oriented programming features supported by ruby?

5


What is the difference between a statement and an expression in ruby?

5


Is ruby supports single inheritance/ multiple inheritance or both?

5






Explain the three levels of access control for ruby methods?

1


What is the difference between a class and a module?

5


What are some built-in ruby class exceptions.

1


Please explain each of the following operators and how and when they should be used: ==, ===, eql?, Equal?

1


Explain break statement in Ruby?

5


How to write multiline string in Ruby?

3


How will you rename and delete a file in Ruby?

5


What are the loops in ruby?

5


In how many ways a block is written in Ruby?

3


How would you create getter and setter methods in ruby?

5