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 |
Explain the difference in scope for these two variables: @@name and @name?
What is mvc? And how it works?
Explain about environment variables present in ruby?
Explain ampersand parameter (&block) in Ruby?
Is ruby a dying language?
What is RubyGems in Ruby programming language?
What is the difference between ruby 1.9 and ruby 2.0?
what is the role of sub-directory app/controllers and app/helpers?
Explain the role of modules and mixins in ruby?
Can you list out the few features of ruby?
Mention what is the difference between a gem and a plugin in ruby?
Is ruby a strongly typed or a weakly typed language?