Which of the following File class methods can be used to determine if a resource is a folder or something else?
A) directory?
B) file?
C) found?
D) type?
Correct Answer:
Verified
Q29: Which of the mode options opens a
Q30: Which of the following is the Ruby
Q31: Which of the mode options opens a
Q32: If you develop a script that will
Q33: RUBY_PLATFORM contains a string that identifies the
Q35: Which of the mode options opens a
Q36: When executed on UNIX or Linux, Ruby
Q37: A special variable is a specially named
Q38: Which of the following File and Dir
Q39: Which of the following File class methods
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents