Ruby Interview Questions
Questions Answers Views Company eMail

How to write multiline string in Ruby?

3

What are Ruby arrays and how they can be created?

3

Explain ampersand parameter (&block) in Ruby?

3

What is the use of global variable $ in Ruby?

3

How to access Ruby strings elements in an application?

3

What is ruby software and where and when it is usefull.

5

what is the purpose of the rakefile available in the demo directory in ruby?

5

Is ruby supports single inheritance/ multiple inheritance or both?

5

difference between activesupport's “hashwithindifferentaccess” and ruby's “hash”?

5

What is rvm?

5

Describe class libraries in Ruby?

5

Explain about the defined operator?

5

Explain about operators in Ruby?

5

Explain about class libraries in ruby?

5

Explain the concepts and capabilities of garbage collection feature of Ruby?

5


Post New Ruby Questions

Un-Answered Questions { Ruby }

What is the difference between throw/catch and raise/rescue?

5


How symbol is different from variables?

1


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

5


What function converts all html special symbols to html entities in ruby?

1


Tell me how you can list all routes for an application?

1






what is the syntax for Ruby collect Iterator?

5


Explain some differences between ruby and python.

1


Is ruby a strongly typed or a weakly typed language?

5


How to open a file in Ruby?

5


Explain while loop in ruby.

1


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

5


How would you implement hash in ruby internally?

1


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


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

5


Are numeric objects mutable in ruby?

5