diff --git a/ruby/README.md b/ruby/README.md new file mode 100644 index 0000000..ca17052 --- /dev/null +++ b/ruby/README.md @@ -0,0 +1,25 @@ +--- +gitea: none +include_toc: true +--- +# Ruby + +## Starting ruby console + +``` +D:\dt\apps\feeder>rails c -e production +``` + +## List directories and files + +``` ruby +irb(main):007:0> Dir.glob('*', base: "//nmea.abb.com/se/PA/Metallurgy/ISYHS/RJO - Operations/RJO - Projects/15 CASO Archive/").map{ |f| puts f } +Folder Created By CH-Service306 Account +Test +TestPW_220124 +_Archived +_Archived_ext +_ToBeArchived +backup +=> [nil, nil, nil, nil, nil, nil, nil] +``` \ No newline at end of file