A Admin • 833K Points Coach Q. How do you read the entire contents of a file into a string in Ruby? (A) file.gets() (B) file.readlines() (C) file.read() (D) file.each_line() Correct Answer - Option(C) Views: 18 Filed under category Ruby Hashtags: Share Manage Tags
Discusssion
Login to discuss.