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 }

Explain how can we define ruby regular expressions?

5


What are the three levels of method access control for classes and what do they signify? What do they imply about the method?

5


Describe class libraries in Ruby?

5


What does ruby name refers to?

1


Explain about the programming language ruby?

5






Explain Ruby hashes?

3


In how many ways items can be added in an array in Ruby?

3


What is mvc? And how it works?

5


Are ruby strings are mutable?

5


Explain about Float, Dig and Max?

5


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

5


In how many ways you can compare Ruby string?

3


Where does a scope change in a ruby program?

5


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

5


how many ways you can create a concatenating string?

3