Home / MCQ Bank / Computer
Computer File Input Output In Ruby

Which method is used to check if a file is hidden in Ruby?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option D • File.hidden?("filename")

Related Computer Questions

In C#, which keyword is used to raise an event? What will be the output of the following PHP code class Person { function getName () { return "Bob" ; } function getAge () { return 44 ; } function __toString () { $desc = $this-> getName(); $desc . = " ( age ". $this-> getAge () .")"; return $desc; } } $person = new Person () ; print $person; Which technology involves the use of AI and data analytics to analyze and optimize the efficiency of logistics and transportation? What is the purpose of the <script> tag in HTML? What will be the output of the following C# code snippet? static void Main(string[] args) { String a ="i love iostream"; Console.WriteLine(a.IndexOf('i') + " " + a.IndexOf('e') + " " + a.LastIndexOf('i') + " " + a.LastIndexOf('e')); Console.ReadLine(); }