Multiple Choice
Which of the following File class methods can be used to determine if a resource is a file or something else?
A) directory?
B) file?
C) found?
D) type?
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q4: Which of the following File class methods
Q5: Which of the mode options opens a
Q6: Using the File class's folder? method, you
Q7: The Dir class's entries method returns the
Q8: The Folder class gives you access to
Q10: The File class gives you access to
Q11: A reference can be set up for
Q12: Which of the mode options opens a
Q13: Which of the following Dir class methods
Q14: Ruby lists the contents of a folder