What happens when a value is too big for fixnum?
Answer / Ravi Shankar Dwivrdi
When a value is too large to be represented by a Fixnum, Ruby automatically promotes it to a Bignum.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain about normal method class?
As you know ruby provides four types of variables. List them and provide a brief explanation for each?
Explain about environment variables present in ruby?
Explain how can we define ruby regular expressions?
What is the difference between #== and #eql??
Explain about class libraries in ruby?
Explain each of the following operators and how and when they should be used: ==, ===, eql?, Equal?
Explain redo statement in Ruby?
What does ruby name refers to?
what is class libraries in Ruby?
Explain the types of variables available in ruby class?
In how many ways a block is written in Ruby?