Explain the role of modules and mixins in ruby?
Answer / Swati Chandra
The defined? operator in Ruby checks if a method, variable, or class exists. If it does, it returns the string 'method', 'variable', or 'class'. If not, it returns nil.
| Is This Answer Correct ? | 0 Yes | 0 No |
what is Interpolation in Ruby?
Tell me what is the difference between ruby 1.9 and ruby 2.0?
Explain Ruby if-else statement?
Explain about ruby code blocks?
Explain the difference in scope for these two variables: @@name and @name?
What are the ruby variables?
Tell me an array [1,2,34,5,6,7,8,9], product it using a method?
Do you know how ruby looks up a method to invoke?
Tell me what is the difference between calling super() and super call?
Why Ruby is known as a language of flexibility?
Explain about the defined operator?
Explain until loop in ruby.