Multiple Choice
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
Correct Answer:
Verified
Related Questions
Q20: Ruby allows you to delete both files
Q21: The Dir class's size method returns a
Q22: One limitation within Ruby programming is the
Q23: If you attempt to delete a file
Q24: Which of the mode options opens a
Q26: The File class also contains a method
Q27: Which of the following actions occur if
Q28: Which of the following is a special
Q29: Which of the following is the Ruby
Q30: RUBY_PLATFORM contains a string that identifies the