Do you know when self.up and self.down method is used?
Answer / Imran Ahmad
The self.up and self.down methods are used in Ruby for character encoding conversions. They convert a character to the next higher (self.up) or lower (self.down) ASCII character, respectively.
| Is This Answer Correct ? | 0 Yes | 0 No |
What happens when a value is too big for fixnum?
What are some built-in ruby class exceptions.
What is yield in ruby?
Tell me what are blocks and procs?
How symbol is different from variables?
How do the following methods differ: @my_string.strip and @my_string.strip! ?
How is an iterator handled in ruby?
Explain about methods?
What is mvc and why do we use it?
What is the use of load and require in ruby?
what is class libraries in Ruby?
What is the scope of a local variable in ruby?