Q. How can you get the absolute path of a file in Ruby?
β
Correct Answer: (B)
Using File.expand_path method
You must be Logged in to update hint/solution