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 }

Explain about Float, Dig and Max?

5


Explain redo statement in Ruby?

5


What is the scope of a local variable in ruby?

5


Is ruby a strongly typed or a weakly typed language?

5


How to access Ruby strings elements in an application?

3


What is mvc? And how it works?

5


Where does a scope change in a ruby program?

5


what the difference is between false and nil in Ruby?

5


How symbol is different from variables?

1


How do the following methods differ: @my_string.strip and @my_string.strip! ?

5


Is ruby supports single inheritance/ multiple inheritance or both?

5


Define ruby methods.

1


Explain about the defined operator in ruby?

1


How does a symbol differ from a string?

5


Tell me what are blocks and procs?

1