Ruby Interview Questions
Questions Answers Views Company eMail

What does ruby name refers to?

1

Explain when self.up and self.down method is used?

1

Explain the role of modules and mixins in ruby?

1

Explain the three levels of access control for ruby methods?

1

Is ruby a dying language?

1


Post New Ruby Questions

Un-Answered Questions { Ruby }

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

5


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

3


How many types of associations relationships does a model has?

5


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 the different environment variables present in the ruby?

5


Tell me how do you remove nil values in array using ruby?

1


How will you comment in ruby.

1


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

5


What are class libraries in Ruby?

3


Explain about environment variables present in ruby?

5


Explain ampersand parameter (&block) in Ruby?

3


Name some operators used in ruby.

1


Explain about variables?

5


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

5


Explain the use of retry statement in ruby?

1