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 }

List some features of ruby?

1


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

1


Name different methods for io console in ruby?

1


What is yield statement in ruby.

1


Explain break statement in Ruby?

5


What is the naming conventions for methods that return a boolean result?

5


Interpolation is a very important process in Ruby, comment.

5


Difference between nil and false in ruby?

1


What method might you use to remove duplicate values from an array?

5


How will you comment in ruby.

1


Write the command to get installed Ruby version in your system?

5


How do you remove nil values in array using ruby?

1


What is concatenating string in Ruby?

3


In how many ways a block is written in Ruby?

3


Mention what is the command to create a migration?

5