Ruby Interview Questions
Questions Answers Views Company eMail

Explain the difference between nil and false in ruby?

5

Explain about interpolation?

5

Explain about variables?

5

Explain about methods?

5

What is sysread method in Ruby?

5

How to check whether a directory exist or not in Ruby?

5

Explain Ruby if-else statement?

5

Explain break statement in Ruby?

5

Write the command to get installed Ruby version in your system?

5

What is RubyGems in Ruby programming language?

5

Explain case statement in Ruby?

5

what is the role of sub-directory app/controllers and app/helpers?

5

Explain raise statement in Ruby?

5

Explain for loop in Ruby?

5

Explain redo statement in Ruby?

5


Post New Ruby Questions

Un-Answered Questions { Ruby }

What method might you use to remove duplicate values from an array?

5


What is rvm?

5


How would you freeze an object in ruby? Can you provide a simple example?

1


How many types of associations relationships does a model has?

5


Difference between render and redirect?

5


In how many ways items can be removed from array in Ruby?

3


In Ruby, it explains about the defined operator?

5


what is the syntax for Ruby collect Iterator?

5


In how many ways you can compare Ruby string?

3


What is yield statement in ruby.

1


Explain until loop in ruby.

1


Explain Ruby exceptions?

5


What does irb stand for?

5


Ruby support single inheritance/multiple inheritance or both?

5


What are the operators available in ruby?

5