Examveda

How do you check the size of a file in Ruby?

A. Using File.bytes method

B. Using File.size method

C. Using File.sizeof method

D. None of the above

Answer: Option B


This Question Belongs to Ruby Programming >> File Input Output In Ruby

Join The Discussion

Related Questions on File Input Output in Ruby