Ruby Interview Questions
Questions Answers Views Company eMail

Explain class libraries in ruby.

1

How will you comment in ruby.

1

How to use ruby methods.

1

Tell me how you can list all routes for an application?

1

Please explain the three levels of access control for ruby methods?

1

Tell me what is the difference between ruby 1.9 and ruby 2.0?

1

Tell us how would you implement hash in ruby internally?

1

Tell me how can you declare a block in ruby?

1

Tell us what is the difference between dynamic and static scaffolding?

1

Tell us in ruby, it explains about the defined operator?

1

Tell me can you call a private method outside a ruby class using its object?

1

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

1

Do you know when self.up and self.down method is used?

1

Tell me what does ruby name refers to?

1

Tell me how would you freeze an object in ruby? Can you provide a simple example?

1


Post New Ruby Questions

Un-Answered Questions { Ruby }

What is the difference between #== and #eql??

5


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

5


How do you handle exceptions in ruby code?

5


What are the different environment variables present in the ruby?

5


Tell us how would you implement hash in ruby internally?

1






Explain redo statement in Ruby?

5


What is a struct in ruby?

5


What does mri most commonly stand for?

5


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

3


what is the difference between put and putc statement?

5


How many iterators are there in ruby?

1


Explain some of the looping structures available in ruby?

5


Explain raise statement in Ruby?

5


Tell me how you define instance variable, global variable and class variable in ruby?

1


Explain about Float, Dig and Max?

5