Ruby Interview Questions
Questions Answers Views Company eMail

How ruby looks up a method to invoke?

1

What is mvc and why do we use it?

1

Explain the difference in scope for these two variables: @@name and @name?

1

How do you remove nil values in array using ruby?

1

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

1

What are blocks and procs?

1

What is the difference between ruby 1.9 and ruby 2.0?

1

Explain the types of variables available in ruby class?

1

Explain the difference between a single quote and double quote?

1

Can you call a private method outside a ruby class using its object?

1

Explain the role of thread pooling in relation to the thread lifecycle in ruby?

1

How symbol is different from variables?

1

What is the difference between extend and include?

1

Explain about the defined operator in ruby?

1

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

1


Post New Ruby Questions

Un-Answered Questions { Ruby }

Explain ampersand parameter (&block) in Ruby?

3


What are the different environment variables present in the ruby?

5


What is yield in ruby?

5


Explain Ruby exceptions?

5


Is ruby a dying language?

1






What must you do first before you can invoke an unboundmethod object?

5


Explain about environment variables present in ruby?

5


Explain about class libraries in ruby?

5


What are the operators available in ruby?

5


How do you remove nil values in array using ruby?

1


How will you rename and delete a file in Ruby?

5


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

1


How symbol is different from variables?

1


Mention what is the command to create a migration?

5


What are the data types in ruby?

5