Ruby Interview Questions
Questions Answers Views Company eMail

what is the difference between Procs and Blocks?

5

what is the difference between put and putc statement?

5

what is the Notation used for denoting class variables in Ruby?

5

what is the difference between String and Symbol?

5

In Ruby, it explains about the defined operator?

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 is the difference extend and include?

5

what is Interpolation in Ruby?

5

what is a class library in Ruby?

5

Ruby support single inheritance/multiple inheritance or both?

5

How is an iterator handled in ruby?

5

How is class methods defined in ruby?

5

What is the scope of a local variable in ruby?

5

What are the operators available in ruby?

5

What are the looping structures available in ruby?

5


Post New Ruby Questions

Un-Answered Questions { Ruby }

What is the scope of a local variable in ruby?

5


How to open a file in Ruby?

5


How would you freeze an object in ruby?

1


Mention what is the command to create a migration?

5


Explain Ruby module?

3


How do you remove nil values in array using ruby?

1


Explain about the command line options?

5


What is the difference between calling super and calling super()?

1


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

1


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

1


In how many ways you can compare Ruby string?

3


Why Ruby is known as a language of flexibility?

5


What are some built-in ruby class exceptions.

1


Explain the types of variables available in ruby class?

1


Which ruby interpreter option enables debugging?

5