add ruby
This commit is contained in:
parent
d3516b43ad
commit
40f53dc92c
25
ruby/README.md
Normal file
25
ruby/README.md
Normal file
@ -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]
|
||||
```
|
||||
Loading…
Reference in New Issue
Block a user