1. The package that contains information about an exception is an object of class exception or is one of class exception's children . Every exception returns information to understand the nature of the exception. Which of the following are provided by exceptions?
2. Which of the following directives used with the method Time.strftime are correct?
3. Which of the following statements regarding Ruby variables is incorrect?
4. Assuming that d is an instance of Dir class:
Ruby MCQs | Topic-wise