Home / MCQ Bank / Computer
Computer File Input Output In Ruby Difficulty: Medium

How do you open a file in Ruby in write mode, creating it if it does not exist?

Select the correct option to test your answer:

More Computer Questions

How many ways of reusing are there in the class hierarchy? Which of these operators does not perform relative-value comparisons? Which data collection method involves the collection of data at regular intervals over a period of time? Taskbar is used for Which of the following is the address of the router?