Skip to content

Commit

Permalink
techcamp team
Browse files Browse the repository at this point in the history
  • Loading branch information
yucao24hours committed Sep 7, 2015
1 parent 084397c commit 50bb229
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/change_directory.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,10 @@
Dir.chdir("/Users/yucao24hours/work/yochiyochi/meetups/reports")
puts Dir.pwd

Dir.entries(Dir.pwd).each do |entry|
year = entry.str[0...4]
month = entry.str[5.6]
day = entry.str[7.8]
puts year
end

0 comments on commit 50bb229

Please sign in to comment.