J
John Maclean
If any one has a copy of "why's poignant guide to ruby", turn to page 45. I can see immediately that
i)`ruby p Dir ['*']` works and lists all files within a specified directory. However
ii)`ruby p File::methods` produces the error..."ruby: No such file or directory -- p (LoadError)"
Is ii) just a way to show the generic syntax of the command?
i)`ruby p Dir ['*']` works and lists all files within a specified directory. However
ii)`ruby p File::methods` produces the error..."ruby: No such file or directory -- p (LoadError)"
Is ii) just a way to show the generic syntax of the command?